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
| em { | |
| font-weight: bold; | |
| font-style: normal; | |
| } |
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 $arr(xargs) { | |
| return Array.prototype.slice.call(xargs); | |
| } | |
| //sample usage: | |
| function someotherfn(arg1,arg2,arg3){ | |
| $args = $arr(arguments); | |
| $args.sort(); | |
| } |
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
| //artificially delay a javascript redirect w/anonymous function | |
| //n represents delay in seconds | |
| (function(){ | |
| var i,c=0,n=3; | |
| i=window.setInterval(function(){ | |
| if(c++==n){ | |
| window.clearInterval(i); | |
| top.location='http://redirect-here.tld/'; | |
| } |
NewerOlder