![]() Overriding the functionality of existing shortcut keys for your own extension could provide a jarring user experience for someone that is expecting the Facebook shortcut key. * Use variables or functions defined by web pages or by other content scriptsįirst off, I would recommend that you consider different shortcut keys. * Use variables or functions defined by their extension's pages * Use chrome.* APIs (except for parts of chrome.extension) Per the Chrome doc on Content Scripts: However, content scripts have some limitations. Your intuition is correct, the JavaScript that runs from a content script as part of a Chrome Extension is run in a sandbox that does not have access to the JavaScript that is executed in the containing page. Is there any way possible my extension could disable facebook's hotkeys so that mine fire alone? I'm fairly certain I have identified the code facebook uses to implement their + hotkeys: =function(a)) I have created a Chrome extension that uses the hotkeys + only to discover facebook uses the same hotkeys.
0 Comments
Leave a Reply. |