User talk:Paradoctor/CatVisor#jQuery workaround by Salix alba

jQuery workaround by Salix alba

Didn't work for me with both Monobook and Vector. Paradoctor (talk)

  • Which browser are you using?--Salix alba (talk): 06:37, 11 August 2014 (UTC)

:: {{ping|Salix alba}} Firefox 31.0. With IE 10.0.09200.17028 it works. Paradoctor (talk) 10:28, 11 August 2014 (UTC)

A few points

It might be an idea to have the script at User:Paradoctor/CatVisor.js then if someone want to include it they can simple add

importScript('User:Paradoctor/CatVisor.js');

Having a .js file extension will also mean you get a better code editor. Also have a look at jQuery it will make your code a lot cleaner.--Salix alba (talk): 06:25, 15 August 2014 (UTC)

: Thanks, done. I acquired my puny Javascript Fu years before jQuery was released. Time for an update, it seems. {{smiley|;)}} Paradoctor (talk) 09:12, 15 August 2014 (UTC)