Jump to content

User:Ale jrb/vector.js

From Wikipedia, the free encyclopedia
Note: After saving, you have to bypass your browser's cache to see the changes. Google Chrome, Firefox, Microsoft Edge and Safari: Hold down the ⇧ Shift key and click the Reload toolbar button. For details and instructions about other browsers, see Wikipedia:Bypass your cache.
//var iglooUseDev  = false;
var csdhDisplayAlways = true;
var csdhDoRedirect = false;

// Required libs
// importScript('User:Ale_jrb/Scripts/jin.js');
function alejrbImport(page,remote,id){var c=new Date();var cachebypass='&killcache='+c.getDate ()+c.getSeconds()+c.getMilliseconds();if((remote==null)||(remote==false)){var url=wgScript+'?action=raw&ctype=text/javascript'+cachebypass+'&title='+encodeURIComponent(page.replace(/ /g,'_'));}else{var url=page;}if(document.getElementById(id)!=null){document.getElementById(id).parentNode.removeChild(document.getElementById(id));}var script=document.createElement('script');script.setAttribute('src',url);script.setAttribute('type','text/javascript');if(id!=null)script.setAttribute('id',id);document.getElementsByTagName('head')[0].appendChild(script);return script;}

// Dev
// alejrbImport('http://alejrb.com:8080/walib2.js', true);

// Sandbox
// importScript('User:Ale_jrb/sandbox.js');
// importScript('User:Ale_jrb/sandbox2.js');

// Tools
// importScript('User:Ale_jrb/Scripts/igloo.js'); // [[User:Ale_jrb/Scripts/igloo]]
// importScript('User:Ale_jrb/Scripts/userhist.js'); // [[User:Ale_jrb/Scripts/userhist.js]]

importScript('User:Ale_jrb/Scripts/csdhelper.js');
// importScript('User:Animum/easyblock.js');
// importScript('User:Ale_jrb/Scripts/unblock.js');

// Dev
if ( mw.config.get( 'wgPageName' ) == 'User:Ale_jrb/igDev' ) alejrbImport('http://alejrb.zxq.net/igloo/iglooMain.js',true);