您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Redirect Google to Yahoo!
当前为
- // ==UserScript==
- // @name Redirect Google
- // @namespace http://domain.com/directory
- // @description Redirect Google to Yahoo!
- // @include *.kleinezeitung.*/*
- // @version 0.0.1.20180901135227
- // ==/UserScript==
- var hlocation =window.location;
- var hlocation = String(hlocation)
- //window.location.replace('l.facebook.com/l.php?u='+location);
- var fb = "https://l.facebook.com/l.php?u=";
- var newlocation = fb+hlocation;
- var input=document.createElement("input");
- input.type="button";
- input.value="convert to plus";
- input.setAttribute("style", "font-size:20px;position:absolute;top:0px;right:80px;width:240px;");
- input.onclick = redirect;
- document.body.appendChild(input);
- function redirect()
- {
- window.location.replace(newlocation);
- }