您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Removes all distracting content from BulSatCom Fusion Web IPTV.
当前为
// ==UserScript== // @name BulSatCom Fusion Sanitizer // @namespace https://greatest.deepsurf.us/scripts/13328-bulsatcom-fusion-sanitizer/code/BulSatCom%20Fusion%20Sanitizer.user.js // @version 0.1 // @icon http://www.google.com/s2/favicons?domain=http://www.bulsat.com/ // @description Removes all distracting content from BulSatCom Fusion Web IPTV. // @author Apostol Apostolov // @match https://test.iptv.bulsat.com/* // @grant GM_addStyle // ==/UserScript== /* jshint -W097 */ 'use strict'; function removeContent(element) { var element; element = document.getElementById(element); if (element) { element.parentNode.removeChild(element); } } removeContent('iptvft'); removeContent('copyright'); removeContent('globalheader'); function addGlobalStyle(css) { var head, style; head = document.getElementsByTagName('head')[0]; if (!head) { return; } style = document.createElement('style'); style.type = 'text/css'; style.innerHTML = css; head.appendChild(style); } addGlobalStyle('html { background: #000000 url() repeat-x top;}'); addGlobalStyle('#iptv #iptvpc { background: url() no-repeat; height: 600px; padding-top: 240px; }'); addGlobalStyle('#iptv #iptvpc { padding-top:100px }'); addGlobalStyle('#cfg input[type="button"] { display:none }'); addGlobalStyle('#iptv #iptvpc h3 { display:none }');