BurnedDesigns Wrote: Okay my question is are you using this script in an html file if so why html why not just run the script with .js extension or why not use php to include the html file with <?php include 'background.html'; ?>
Because the file needs special treat lol. And keep in mind that this is for a chrome extension.
If i simply add it like that
Code:
<script src="/js/content.js"></script>
It won't work, i've read a few posts about this and found out what i wrote above.
I forgot to mention, that it has to have GM_xmlhttpRequest granted.