Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6789041
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T17:33:24+00:00 2026-05-26T17:33:24+00:00

I wanted to do something very similar to a question that has already been

  • 0

I wanted to do something very similar to a question that has already been answered here:

build a chrome extension in order to upload images (from clipboard)

but with a significant difference. In the problem above, the developer is taking a screenshot of the a tab via captureVisibleTab(), and uploading the data to a server via a chrome plugin.

What I’m looking for is a way to do the exact same thing except with the content of a single img tag on the visible tab, instead of the whole tab … is this possible or can I only take a full screenshot?

Thanks in advance.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T17:33:24+00:00Added an answer on May 26, 2026 at 5:33 pm

    If you have the path to the actual file:

    var reader = new FileReader();
    
    reader.onload = function (e) {
      var base64Data = e.target.result;
    };
    
    reader.readAsDataURL(imageFile);
    

    Theoretically you could pull the file from the browser’s tmp folder that downloaded that image.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've read quite a few posts that are very similar to the question I'm
Something I've wanted to learn for quite a time now, but haven't been able
This is something that's I've wanted to know recently, mostly out of curiousity. I'm
EDIT following Ben's answer I'm trying to make something that should be very easy
I'm trying to do something similar I was asking for here and unfortunately I
I am probably being desperately naive here, but i wanted to clear something up.
I had a very similar problem before where i wanted to show random xml
My question is very similar to this topic . I'm trying to use jquery,
Just wanted to know something about signed vs unsigned interpretation. Am I right if
I wanted to write something basic in assembly under Windows. I'm using NASM, but

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.