-
-
Save aikatsukamen/48c20781876a5511cd9447690f10a777 to your computer and use it in GitHub Desktop.
17live
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 17live | |
| // @namespace http://tampermonkey.net/ | |
| // @version 0.1 | |
| // @description try to take over the world! | |
| // @author You | |
| // @match https://17.live/live/* | |
| // @grant none | |
| // ==/UserScript== | |
| (function() { | |
| 'use strict'; | |
| for(let i = 0; i < 10; i++){ | |
| setTimeout(()=> { | |
| remove(); | |
| }, 1000 * i); | |
| } | |
| })(); | |
| const remove = ()=> { | |
| var dom = document.querySelector('div[class*="Nav"]'); | |
| if(dom) dom.remove(); | |
| dom = document.querySelector('div[class*="Notifications"]'); | |
| if(dom) dom.remove(); | |
| dom = document.querySelector('div[class*="Header"]'); | |
| if(dom) dom.remove(); | |
| dom = document.querySelector('div[class*="VideoOverlay"]'); | |
| if(dom) dom.remove(); | |
| dom = document.querySelector('div[class*="VideoLoading"]'); | |
| if(dom) dom.remove(); | |
| dom = document.querySelector('div[class*="VideoPlayer__EventOverlay"]'); | |
| if(dom) dom.remove(); | |
| dom = document.querySelector('div[class*="Gift__Wrapper"]'); | |
| if(dom) dom.remove(); | |
| dom = document.querySelector('div[class*="Gift__Wrapper"]'); | |
| if(dom) dom.remove(); | |
| dom = document.querySelector('div[class*="Snackbars"]'); | |
| if(dom) dom.remove(); | |
| dom = document.querySelector('div[class*="LinesEllipsis"]'); | |
| if(dom) dom.remove(); | |
| dom = document.querySelector('div[class*="LinesEllipsis"]'); | |
| if(dom) dom.remove(); | |
| dom = document.querySelector('div[class*="LinesEllipsis"]'); | |
| if(dom) dom.remove(); | |
| dom = document.querySelector('div[class*="LinesEllipsis"]'); | |
| if(dom) dom.remove(); | |
| dom = document.querySelector('div[class*="LinesEllipsis"]'); | |
| if(dom) dom.remove(); | |
| dom = document.querySelector('div[class*="LinesEllipsis"]'); | |
| if(dom) dom.remove(); | |
| dom = document.querySelector('div[class*="LinesEllipsis"]'); | |
| if(dom) dom.remove(); | |
| dom = document.querySelector('div[class*="LinesEllipsis"]'); | |
| if(dom) dom.remove(); | |
| // 登録しましょうってやつ | |
| dom = document.querySelector('form'); | |
| if(dom) dom.remove(); | |
| dom = document.querySelector('#ssIFrame_google'); | |
| if(dom) dom.remove(); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment