This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name WoW One Feenix Database 3D Model Links | |
// @namespace http://www.wow-one.com/database/ | |
// @namespace https://www.wow-one.com/database/ | |
// @description WoW One Feenix Database 3D Model Links | |
// @include http://www.wow-one.com/database/?item=* | |
// @include http://www.wow-one.com/database/?item=*#modelviewer* | |
// @include https://www.wow-one.com/database/?item=* | |
// @include https://www.wow-one.com/database/?item=*#modelviewer* | |
// @version 1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name WoW One Feenix Database 3D Model Links | |
// @namespace http://www.wow-one.com/database/ | |
// @namespace https://www.wow-one.com/database/ | |
// @description WoW One Feenix Database 3D Model Links | |
// @include http://www.wow-one.com/database/?item=* | |
// @include http://www.wow-one.com/database/?item=*#modelviewer* | |
// @include https://www.wow-one.com/database/?item=* | |
// @include https://www.wow-one.com/database/?item=*#modelviewer* | |
// @version 1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function string_split(s){return s.split('').toString();} | |
string_split("Hello"); | |
-- "H,e,l,l,o" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function g_getGets() { | |
if (g_getGets.C != null) { | |
return g_getGets.C | |
} | |
var e = {}; | |
if (location.search) { | |
var f = decodeURIComponent(location.search.substr(1)).split("&"); | |
for (var c = 0, a = f.length; c < a; ++c) { | |
var g = f[c].indexOf("="), b, d; | |
if (g != -1) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Array.prototype.sum=function(s){if(typeof s!=='function'){s=function(p){return p;}}var v=0;for(var i=0;i<this.length;i++){v+=parseFloat(s(this[i]));}return v;}; | |
function calc(num,stat){ | |
for (i=0;i<num.length;i++){ | |
return num.sum()+" "+stat; | |
} | |
} | |
calc([1491+1172+801+200+1563+1110+973+1068+1491+1119+1486],"Agility"); // "12474 Agility" | |
calc([1491,1172,801,200,1563,1110,973,1068,1491,1119,1486],"Agility"); // "12474 Agility" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function date_time(id){var D=new Date,year=D.getFullYear(),M=D.getMonth(),m=['January','February','March','April','May','June','July','August','September','October','November','December'],d=D.getDate(),W=D.getDay(),w=['Sunday','Monday','Tuesday','Wednesday','Thursday','Friday','Saturday'],h=D.getHours(),x=D.getMinutes(),s=D.getSeconds();if(h<10){h="0"+h;}if(x<10){x="0"+x;}if(s<10){s="0"+s;}r=''+w[W]+' '+m[M]+' '+d+' '+year+' '+h+':'+x+':'+s;document.getElementById(id).innerHTML=r;setTimeout('date_time("'+id+'");','1000');return true;}window.onload=date_time('date_time'); | |
/* To use this JavaScript, just add a DOM element and add the id parameter to it with the value date_time (<span id="date_time"></span>). */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function date_time(id){ | |
var D=new Date, | |
year=D.getFullYear(), | |
M=D.getMonth(), | |
m=['January','February','March','April','May','June','July','August','September','October','November','December'], | |
d=D.getDate(), | |
W=D.getDay(), | |
a='', | |
w=['Sunday','Monday','Tuesday','Wednesday','Thursday','Friday','Saturday'], | |
h=D.getHours(),x=D.getMinutes(),s=D.getSeconds(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function date_time(e){var t=new Date,d=t.getFullYear(),n=t.getMonth(),u=["January","February","March","April","May","June","July","August","September","October","November","December"],y=t.getDate(),o=t.getDay(),i=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],s=t.getHours(),m=t.getMinutes(),g=t.getSeconds();return 10>s&&(s="0"+s),10>m&&(m="0"+m),10>g&&(g="0"+g),1==y&&(a="st"),2==y&&(a="nd"),3==y&&(a="rd"),y>=4&&(a="th"),21==y&&(a="st"),22==y&&(a="nd"),23==y&&(a="rd"),y>=24&&(a="th"),31==y&&(a="st"),r=""+i[o]+" "+u[n]+" "+y+a+" "+d+" "+s+":"+m+":"+g,document.getElementById(e).innerHTML=r,setTimeout('date_time("'+e+'");',"1000"),!0}window.onload=date_time("date_time"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function date_time(k){var v=new Date,l=v.getFullYear(),c=v.getMonth(),q=["January","February","March","April","May","June","July","August","September","October","November","December"],p=v.getDate(),b=v.getDay(),h=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],w=v.getHours(),f=v.getMinutes(),j=v.getSeconds();return 10>w&&(w="0"+w),10>f&&(f="0"+f),10>j&&(j="0"+j),1==p&&(a="st"),2==p&&(a="nd"),3==p&&(a="rd"),p>=4&&(a="th"),21==p&&(a="st"),22==p&&(a="nd"),23==p&&(a="rd"),p>=24&&(a="th"),31==p&&(a="st"),r=""+h[b]+" "+q[c]+" "+p+a+" "+l+" "+w+":"+f+":"+j,document.getElementById(k).innerHTML=r,setTimeout('date_time("'+k+'");',"1000"),!0}window.onload=date_time("date_time"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function output(c){document.write(c);} | |
function cut(w,s,e){return w.slice(s,e);} | |
function date_(){ | |
var date=new Date(); | |
var c=date.getDay(); | |
var date=date.toDateString(); | |
var d1=date.indexOf("Mon"); | |
var d2=date.indexOf("Tue"); | |
var d3=date.indexOf("Wed"); | |
var d4=date.indexOf("Thu"); |
OlderNewer