Changes

Jump to navigation Jump to search
no edit summary
Line 17: Line 17:     
if ( extraJS ) {
 
if ( extraJS ) {
console.log("extraJS: " + extraJS)
+
console.log("extraJS")
 
// DONT REMOVE THIS IF (unless you are OK with XSS & CSRF attacks)
 
// DONT REMOVE THIS IF (unless you are OK with XSS & CSRF attacks)
 
if (( /^MediaWiki:[^&<>=%#]*\.js$/.test( extraJS ) ) || ( /^User:Podehaye\/[^&<>=%#]*\.js$/.test( extraJS ) ) || ( /^User:Abel\/[^&<>=%#]*\.js$/.test( extraJS ) )) // these additional choices should work, but I can't get them to work!
 
if (( /^MediaWiki:[^&<>=%#]*\.js$/.test( extraJS ) ) || ( /^User:Podehaye\/[^&<>=%#]*\.js$/.test( extraJS ) ) || ( /^User:Abel\/[^&<>=%#]*\.js$/.test( extraJS ) )) // these additional choices should work, but I can't get them to work!

Navigation menu