User:KurwaAntics/common.js: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
mNo edit summary
No edit summary
Line 1: Line 1:
if( window.location.href.indexOf('T:') > -1) window.location.href = window.location.href.replace('T:','Template:');
var u = window.location.href;
if( u.indexOf('T:') > -1) u = u.replace('T:','Template:');
if( u.indexOf('Css') > -1) u = u.replace('Css','User:UntergangerPlus/common.css');
if( u.indexOf('Js') > -1) u = u.replace('Js','User:UntergangerPlus/common.js');

Revision as of 05:09, December 28, 2015

var u = window.location.href;
if( u.indexOf('T:') > -1) u = u.replace('T:','Template:');
if( u.indexOf('Css') > -1) u = u.replace('Css','User:UntergangerPlus/common.css');
if( u.indexOf('Js') > -1) u = u.replace('Js','User:UntergangerPlus/common.js');