Is is leagal to access the functions defined in the content scripts from outside? say from: 1.console 2.background script 3.another content script Which of these is/are legal? What actually happens when a content script is executed?
I have a function hit()
in the content script content_script.js
Why can't I access it from the console even after the page is completely loaded?