I would like to use a Chrome Extension to download the current page's DOM. I'm not sure why, but when my download occurs, the result is just a text file with either 'null' or 'undefined', rather than the DOM. I've tried to...
My overall goal was to take a screenshot via the background page using:  http://developer.chrome.com/extensions/tabs.html#method-captureVisibleTab  and pass it to the content script so I can use the page's HTML DOM to analyze the screenshot and c...
Im trying to send a click event from panels script(popup.js) to content script(content.js) hers the code that i've tried.and the desired output isnt printing on the console.     popup.html   <button id="start-btn" onclick="myFuncti...
Subject  I am creating a chrome extension that requires me to send a message from my event page to a content script that is running on a specific frame  The message passing operation is invoked when a context menu option is clicked. Said option is on...
I would like to implement communication between webworkers. I read the W3C documentation and I found MessageChannel is one of the ways to do it, but while reading MessageChannel I couldn't understand how to implement communication between workers...
Definitions:  Please note from the outset that by 'injected script', 'extension code' and 'content script' I will be using the definitions provided in the excellent first answer to this question.   Assumption: Handling confide...
So let me explain:  I basically want so when you post a comment, (i use a js/jquery script to send string to insert.php which inserts to the database) you will receive 2+ points. Now i have done so you get +2 points, BUT i want to display a message l...
I've already read the documentation from Google on 'message passing' a few times and have probably looked at over 10 other questions with the same problem and already tried quiet a few variations of most of their "solutions" and o...
I have the following method that is called from the background script of my Chrome Extension. The goal is to send a message to a specific tab and then call provided callback method with the result. The important part is that the callbackDone must be...
On sending side : i.e from contentscript.  contentscript.js:  <script>      //some DOM code to obtain values to store in 'marks' array.       //here I'm sending marks array to background.js.     // 1) Am I sending it right?     chro...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.