无须确认,直接跳转

让链接跳转提示自动跳转

As of 12.07.2020. See the latest version.

// ==UserScript==
// @name          无须确认,直接跳转
// @namespace     Don't confirm, just redirect.
// @match         none
// @grant         none
// @version       0.0.2
// @author        -
// @description   让链接跳转提示自动跳转
// ==/UserScript==
if (/https?%3A(?:%2F%2F|\/\/)/.test(window.location.search))
  window.location.href = decodeURIComponent(
    window.location.search
      .replace(/^.*?(https?%3A(?:%2F%2F|\/\/))/, '$1')
      .replace(/&.*$/, '')
  );