Hi there.
This is the general structure of my extension:
- A background_page called background.html
- No popup
- Permissions [ "tabs", "http://*/*" ]
- The background page uses chrome.tabs.executeScript to inject the content script into the page (from inside a browserAction.onClicked listener)
- It has an onRequest listener. The request is fired from the content script. The listener sends a response to the content script in the end. The content script then uses this response to change the respective page
Now my problem:
The content script has grown bigger and bigger over time and now I seem to have reached some limit ... even if I just add comment lines, it will not execute any more. There is no error (as far as I can see), but it just won't execute any more.
Is there a size limit for content scripts injected using executeScript?


LinkBack URL
About LinkBacks



Reply With Quote