Light12306/RwTicketAssistantV2/app/contentscripts/kyfw/12306_pre.js

24 lines
499 B
JavaScript
Raw Normal View History

(function () {
var s = document.createElement("script");
s.textContent = '('+(function() {
var si = window.setInterval;
var st = window.setTimeout;
window.setInterval = function (callback, timeout) {
var __ = this;
timeout /= 2;
return si.apply(__, [callback, timeout]);
};
window.setTimeout = function (callback, timeout) {
var __ = this;
timeout /= 2;
return st.apply(__, [callback, timeout]);
};
}) + ')();';
document.documentElement.appendChild(s);
});