Is there any advantage to using querySelector()vs jQuery $()in usercript? I want the script to work in all major browsers that support scripts, so I'm especially interested in cross-browser compatibility.
I started to think about this because I noticed that the excellent Reddit Enhancement Suite does a great job of jQuery as a dependency, but basically sticks querySelector()to selecting elements and other basic JavaScript methods for manipulating the DOM.
Is it just a matter of taste, or is there a reason to use jQuery at least?
source
share