您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Skip poweruser.guru and go to the real poweruser.com thread
- // ==UserScript==
- // @name Skip poweruser.guru site
- // @namespace GrayFace
- // @version 1.0
- // @description Skip poweruser.guru and go to the real poweruser.com thread
- // @author GrayFace
- // @match http://poweruser.guru/*
- // @match https://poweruser.guru/*
- // @grant none
- // @run-at document-start
- // ==/UserScript==
- (function() {'use strict';
- function WhenLoaded(f, id) {
- var timer;
- timer = setInterval(function() {
- var a = document && document.body && (!id || document.querySelector(id));
- if (a) {
- clearTimeout(timer);
- f(id && a);
- }
- }, 10);
- }
- WhenLoaded((a)=>{
- location.href = a.href;
- }, '.question .suggest-edit-post');
- })();