您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Seaching for imgur on google auto redirects to https://imgur.com/upload/
当前为
- // ==UserScript==
- // @name Redirect to imgur
- // @namespace https://greasyfork.org/en/users/670188-hacker09?sort=daily_installs
- // @version 2
- // @description Seaching for imgur on google auto redirects to https://imgur.com/upload/
- // @author hacker09
- // @include *://www.google.*
- // @icon https://t3.gstatic.com/faviconV2?client=SOCIAL&type=FAVICON&fallback_opts=TYPE,SIZE,URL&url=http://www.google.com&size=64
- // @run-at document-start
- // @grant none
- // @noframes
- // ==/UserScript==
- (function() {
- 'use strict';
- if (location.href.match('imgur') !== null) { //Starts the if condition
- location.href = 'https://imgur.com/upload/'; //Redirect to https://imgur.com/upload/
- } //Finishes the if condition
- })();