Created
May 15, 2024 00:39
-
-
Save Gasol/303bba0442caa02f80ff54938d81996b to your computer and use it in GitHub Desktop.
Disable popup when idle
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name Disable ifvisible | |
// @namespace http://tampermonkey.net/ | |
// @version 2024-03-19 | |
// @description Stop fancybox to be opened while idle | |
// @author Gasol Wu <gasol.wu@gmail.com> | |
// @match https://www.mobile01.com/* | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=mobile01.com | |
// @grant none | |
// ==/UserScript== | |
(function() { | |
'use strict'; | |
if (typeof ifvisible !== 'object') { | |
return; | |
} | |
if (typeof ifvisible.idle !== 'function') { | |
return; | |
} | |
ifvisible.off('idle'); | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment