mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
34 lines
432 B
JavaScript
Executable file
34 lines
432 B
JavaScript
Executable file
|
|
(function($){
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
})(this.jQuery);
|
|
|
|
|
|
|
|
|
|
window.log = function(){
|
|
log.history = log.history || [];
|
|
log.history.push(arguments);
|
|
if(this.console){
|
|
console.log( Array.prototype.slice.call(arguments) );
|
|
}
|
|
};
|
|
(function(doc){
|
|
var write = doc.write;
|
|
doc.write = function(q){
|
|
log('document.write(): ',arguments);
|
|
if (/docwriteregexwhitelist/.test(q)) write.apply(doc,arguments);
|
|
};
|
|
})(document);
|
|
|
|
|