Hey there,
I currently have a massive Problem. I am using two tabs for my extension and in both tabs i would need jQuery. So basically i would do the following:
tab.attach({
contentScriptFile: [data.url(‘scripts/jquery.js’), …]
});
But it seems i can not include jquery on two tabs. So the second tab which includes query is not working. When i remove the jquery from the first tab, the second works.
So does anybody know a Solution to this? I just want to use jQuery on two seperate tabs?
I also tried to use pagemod and include it within every page, but it seems that does not help because I need other scripts using jquery and not the page itself. So in both case there are content scripts loaded in combination with jquery.
pageMod.PageMod({
include: “*”,
contentScriptFile: data.url(“scripts/jquery.js”)
});
Thanks!