I have a question about userscripts. Is it faster to have this in before or after of the main function initiateFlasher?
if (typeof unsafeWindow !== 'undefined' && unsafeWindow.jQuery) {
initiateFlasher(unsafeWindow.jQuery);
} else {
function addScript(callback) {
var script = document.createElement('script');
script.text = '(' + callback.toString() + ')();';
document.body.appendChild(script);
}
addScript(initiateFlasher);
}
function initiateFlasher(arg) {}