Use local variables #1
This commit is contained in:
parent
0de7b78ca1
commit
8bacc64e90
|
@ -9,7 +9,7 @@
|
||||||
// @run-at document-start
|
// @run-at document-start
|
||||||
// ==/UserScript==
|
// ==/UserScript==
|
||||||
|
|
||||||
docEventListener = document.__proto__.addEventListener
|
var docEventListener = document.__proto__.addEventListener
|
||||||
document.__proto__.addEventListener = function() {
|
document.__proto__.addEventListener = function() {
|
||||||
if (arguments[0] == "visibilitychange") {
|
if (arguments[0] == "visibilitychange") {
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in New Issue