RE: April Fools
March 31, 2013 at 10:35 pm
(This post was last modified: March 31, 2013 at 10:36 pm by Autumnlicious.)
Add this into a bookmarklet:
Turns out that Firefox disabled javascript: url access to the current page context.
Code:
javascript:(function(){var e=document,d=function(a,b,c){e.getElementById("container").setAttribute("style","-webkit-transform:rotate("+a+"deg); -moz-transform:rotate("+a+"deg);-o-transform:rotate("+a+"deg); transform:rotate("+a+"deg);ms-filter:progid:DXImageTransform.Microsoft.BasicImage(rotation="+b+"); filter:progid:DXImageTransform.Microsoft.BasicImage(rotation="+b+");");if(359<a+1||0.001>Math.abs(a-1))c-=1,a=0;0.001>Math.abs(Math.abs(a)-90)?b=1:0.001>Math.abs(Math.abs(a)-180)?b=2:0.001>Math.abs(Math.abs(a)- 270)?b=3:0.001>Math.abs(Math.abs(a)-0)&&(b=0);0<c&&setTimeout(function(){d(a+10,b,c)},100)};d(0,0,1)})();void 0;
Turns out that Firefox disabled javascript: url access to the current page context.
Slave to the Patriarchy no more