dotjs/jenkins.banksimple.com.js @ 3d37ca22c5c5
bpollack/use-command-to-explicitly-call-ag-and-us-1442506830050
Use command to explicitly call ag, and use compound if block
author |
Benjamin Pollack <benjamin@bitquabit.com> |
date |
Thu, 17 Sep 2015 16:20:42 +0000 |
parents |
d38d836fda13 |
children |
(none) |
var css = '* { -webkit-transition: none !important; -moz-transition: none !important; -o-transition: none !important; -ms-transition: none !important; transition: none !important; }'
var head = document.head || document.getElementsByTagName('head')[0]
var style = document.createElement('style');
style.type = 'text/css';
if (style.styleSheet){
style.styleSheet.cssText = css;
} else {
style.appendChild(document.createTextNode(css));
}
head.appendChild(style);