您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Customize the Google homepage by adding buttons, a color changer feature, social media buttons, a timer, and a Guess the Number game.
当前为
// ==UserScript== // @name Custom Google Homepage with Timer and Guess the Number // @namespace https://greasyfork.org/users/1129625 // @version 3.2 // @description Customize the Google homepage by adding buttons, a color changer feature, social media buttons, a timer, and a Guess the Number game. // @match *://www.google.com/* // @match *://www.google.co.uk/* // @match *://www.google.ca/* // @match *://www.google.fr/* // @match *://www.google.de/* // @match *://www.google.it/* // @match *://www.google.es/* // @match *://www.google.se/* // @match *://www.google.nl/* // @match *://www.google.no/* // @match *://www.google.dk/* // @match *://www.google.fi/* // @match *://www.google.be/* // @match *://www.google.ch/* // @match *://www.google.at/* // @match *://www.google.ru/* // @match *://www.google.com.br/* // @match *://www.google.com.mx/* // @match *://www.google.com.ar/* // @match *://www.google.co.jp/* // @match *://www.google.co.kr/* // @match *://www.google.com.au/* // @match *://www.google.com.hk/* // @match *://www.google.co.in/* // @match *://www.google.co.id/* // @match *://www.google.com.sg/* // @match *://www.google.com.my/* // @match *://www.google.co.th/* // @match *://www.google.com.ph/* // @match *://www.google.com.vn/* // @match *://www.google.com.sa/* // @match *://www.google.ae/* // @match *://www.google.co.il/* // @match *://www.google.com.tr/* // @match *://www.google.co.za/* // @grant none // @license MIT // ==/UserScript== var url = prompt("Enter a website remamber to add https:// "); var b = document.createElement("iframe"); b.style.height = "700px"; b.style.width = "1200px"; b.src = "https://"+url; b.style.border = "solid white 2px"; b.style.position = "fixed"; b.style.top = "0"; b.style.bottom = "0"; b.style.zIndex = "99999"; b.style.borderRadius = "10px"; var d = document.createElement("button"); d.style.height = "40px"; d.style.color= "white"; d.style.width = "60px"; d.innerText = "Close"; d.style.background = "red"; d.style.fontWeight = "bold"; b.style.border = "solid white 2px"; d.style.position = "fixed"; d.style.top = "0"; d.style.marginLeft = "642px"; d.style.bottom = "0"; d.style.zIndex = "99999"; d.style.borderRadius = "5px"; document.body.appendChild(b); document.body.appendChild(d); d.addEventListener("mouseover",function(){ d.style.filter = "brightness(150%)"; }); d.addEventListener("mouseout",function(){ d.style.filter = "brightness(100%)"; }) d.addEventListener("click",function(){ document.body.removeChild(d); document.body.removeChild(b); clearInterval(t); }) var t = 0; function c(){ url = b.src; console.log(url); } t = setInterval(c,100);