您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Softpedia Minimalist - http://pushka.com/coding-donation
当前为
// ==UserScript== // @name Softpedia Minimalist // @namespace english // @description Softpedia Minimalist - http://pushka.com/coding-donation // @include http*://*softpedia.com* // @version 1.10 // @run-at document-start // @grant GM_addStyle // ==/UserScript== // Main - CSS hides two classes - video add box, and call to action box under it. - also social media var text2 = ""; if((window.location.href == "http://www.softpedia.com/")||(window.location.href == "http://softpedia.com/")||(window.location.href == "http://www.softpedia.com")||(window.location.href == "http://softpedia.com")||(window.location.href == "https://softpedia.com")||(window.location.href == "https://www.softpedia.com")){ text2 = ".container_48{display:none;}"; var node = document.createElement("p"); // Create a <li> node var textnode = document.createTextNode('<form id="hps_form" action="/dyn-search.php" method="GET" class="hp-search grid_48" _lpchecked="1"> <i class="hp-search-icon fl" onclick="$(\'#hps_input\').focus();">Search</i> <input id="hps_input" type="text" value="our software encyclopedia!" name="search_term" onkeydown="if(this.value==\'our software encyclopedia!\') this.value=\'\';" onclick="if(this.value==\'our software encyclopedia!\') this.value=\'\';" onblur="if(this.value==\'\') this.value=\'our software encyclopedia!\';" onfocus="if(this.value==\'our software encyclopedia!\') this.value=\'\';"> <ul id="hps_search" class="hp-search-select overhide"> <li id="hps_selection">Windows Apps</li> <li class="sel" data-type="www">Windows Apps</li> <li class="sel" data-type="drivers">Windows Drivers</li> <li class="sel" data-type="mac">Mac Apps</li> <li class="sel" data-type="linux">Linux Apps</li> <li class="sel" data-type="mobile" data-other="mobileapps=0">Mobile Apps</li> <li class="sel" data-type="webscripts">Webscripts</li> <li class="sel" data-type="mobile">Phones & Tablets</li> <li class="sel" data-type="news">News</li> </ul> </form>'); // Create a text node node.appendChild(textnode); // Append the text to <li> document.body.appendChild(node); // Append <li> to <ul> with id="myList" } var style = document.createElement('style'); style.type = 'text/css'; style.innerHTML = text2 + ' #flashsale,.copyright_cnt,.social{display: none !important;}/*\n*//*\n*//*We work hard every day to bring you the latest software & games, tech news and reviews.If our site is useful to you, please consider whitelisting us in your ad blocker.*//*\n*/.grid_17, .mgtop_10, .mgbot_40 {display: none !important;}/*\n*//*\n*//*Did you know that.... ...has been downloaded 70,180 times so far?*//*\n*/.grid_29, .prefix_2, .mgtop_30 {display: none !important;} ' ; document.getElementsByTagName('head')[0].appendChild(style);