This file contains hidden or 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 Global Protect VPN - Close Window | |
// @namespace Scripts | |
// @match https://*.xxxvpn-alt.ras.xxx.com/* | |
// @match https://xxxvpn-alt.ras.xxx.com/* | |
// @grant window.close | |
// @version 1.0 | |
// @description Close the tab when successful Global Protect VPN is on | |
// ==/UserScript== |
This file contains hidden or 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 AWS VPN - Close Window | |
// @namespace Scripts | |
// @match http://127.0.0.1:35001/ | |
// @grant window.close | |
// @version 1.0 | |
// @description Close the tab when successful AWS VPN is on | |
// ==/UserScript== | |
setInterval(() => { |
This file contains hidden or 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
declare -a paths | |
paths+=("/Users/${USER}/Library/Caches") | |
# chrome | |
paths+=("/Users/${USER}/Library/Caches/Google/Chrome/GrShaderCache") | |
paths+=("/Users/${USER}/Library/Caches/Google/Chrome/Crashpad") | |
paths+=("/Users/${USER}/Library/Caches/Google/Chrome/Default/Cache") | |
paths+=("/Users/${USER}/Library/Caches/Google/Chrome/Default/Code Cache") | |
paths+=("/Users/${USER}/Library/Application Support/Google/Chrome/Default/Service Worker") |
This file contains hidden or 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 Auto redirect from m.weibo.cn to weibo.com | |
// @namespace https://m.weibo.cn/ | |
// @version 0.1 | |
// @description Auto redirect from m.weibo.cn to weibo.com | |
// @author dreamhunter2333 | |
// @match https://m.weibo.cn/detail/* | |
// @grant none | |
// ==/UserScript== |