From my knowledge it is not possible directly by getting tab.url (only possible 开发者_开发百科in the popup.html) and doing message passing also requires that popup.html be open. Is there anyway to by
I\'m writing an extension for Firefox 4+. I have some code in a file named utils.js wh开发者_运维问答ich I\'d like to call from both the addon\'s main.js and from the page-mod\'s content script.
I am writing a Chrome extension using FB apis but this simple code: <script type=\"text/javascript\" src=\"http://connect.facebook.net/en_US/all.js\"></script>
I am writing a Google Chrome extension. I want to pass a small array from a content script to background page in a message.Can I simply reference the array name or need I construct a JSON object from
I\'m trying to write a simple Chrome extension. I learnt how to write the \"hello world\" extension that Google put out, but how do I write an extension that will actually do something? Nothing online
I have a javascript Array which I am stringifying in order to store it in localstorage console.log(request.keywords.length);
I am writing an extension for Google Chrome.The content script never sees that sendNextProfile request has been sent from background page.At least, the messa开发者_开发知识库ge RECEIVED REQUEST FOR NE
I am attempting to update a task with the following code: function updtsk(task,id) { var url = \'https://www.googleapis.com/tasks/v1/lists/@default/tasks/\'+id;
I\'m trying to load myframe.html inside an iframe and attach that iframe to the DOM of the current page. Is this possible, if myframe.html is part of my extension source?
How do I get 开发者_开发知识库a reference to the dom of a cross domain iframe/frame? I want to do some stuff to disqus comments with an extension.