Essentially I want to have a script execute when the contents of a DIV change. Since the scripts are separate (content script in the Chrome extension & webpage script), I need a way simply observe changes in DOM state. I could set up polling bu...
This seems to be the easiest thing to do, but it's just not working. In a normal browser the .html and .js files works perfectly, but in the Chrome extension the onClick function is not performing what it's supposed to do.  .js file:  funct...
I have created a JavaScript variable and when I click on the button it should increment by 1, but its not happening.  Here's manifest.json.  {   "name":"Facebook",   "version":"1.0",   "description":"...
I have a chrome extension which hooks into the devtools.  Ideally I want a badge that, when clicked, opens up the devtools on the new tab which I created.  Is there any way to do this from the background page?...
When trying to communicate between my Content- and Background Script I get the following errors:  Port error: Could not establish connection. Receiving end does not exist. Error in event handler for 'undefined': Cannot read property 'me...
I am trying to make a Chrome extension with one line of jQuery code but it doesn't work. I'm trying to trigger a click on an element.  The console of chrome doesn't show any error at all, and when I put ONLY the jQuery code in console i...
I know this this has been asked in numerous posts but honestly I don't get them. I am new to JavaScript, Chrome Extensions and everything and I have this class assignment. So I need to make a plugin that would count DOM objects on any given pag...
I am developing an extension for Google Chrome. My background script, everytime, authorizes on a server that uses the XMPP API, and subscribes for a PubSub node. I need to unsubscribe on the exit, otherwise the dummy subscriptions will remain on th...
I'm creating a UserScript extension for Firefox & Chrome and I'm trying to use some of the code in the website's JavaScript, e.g.:  function: myFunction(){     return  Grooveshark.playNextSong(); }   The problem is when I test this...
Chrome DevTools has a handy inspector for Local Storage and Session Storage, but is there nothing to inspect chrome.storage.sync?    chrome://sync-internals/ doesn't seem to display the actual contents of the synchronized storage per extension....

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.