gboudreau / sabconnectplusplus

SABnzbd extension for Google Chrome
GNU General Public License v3.0
77 stars 44 forks source link

Extension breaks anchor tags <a href="#something"> on other sites #116

Open thecontstruct opened 10 years ago

thecontstruct commented 10 years ago

Note sure how this extension manages to break this but in page anchors are breaking for other sites.

Steps to Reproduce: Go to http://api.jqueryui.com/draggable/ Click one of the options, it'll scroll down to that header Go back which should jump you back to the top of the page Click a different options, it'll scroll down to the header then jump right back to the top Every click on one of the option anchors will exhibit this behaviour from then on

If you disable the extension this process works.n

Having this broken is pretty frustrating since a lot of API documentation sites I frequent use this functionality.

ppslim commented 10 years ago

Looks to be a conflict between the built in jQuery when the auto-newznab detector anonymous function is invoked, and the jQuery within the page.

Not much fun tethering internet, so can't debug it on my dev box, but it does appear to be linked to DOM loading and invoking the anonymous auto-newznab function multiple times, i.e. loading it into a DOM is it already loaded into.

Needs some more TLC I expect