Does it work, if I specify a folder for Operas userjs and that folder contains jQuery.js? Can I then use jQuery in my own scripts?

link|improve this question

50% accept rate
feedback

1 Answer

No, don't do that. Not raw and unchecked at least.

It won't work and what you'll find is that sites that already use jQuery may take forever to load nothing but an expectant blank page.

You can try and throw a check around your jquery.js file in your userscripts directory like so:

 if (typeof jQuery != 'undefined') {

    //the jquery.js file is here

 }

That should stop the conflict of having two jQuery libraries loaded on the one page.

No guarantees that that will work though.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.