Greasy Fork is available in English.

“如需浏览,请长按网址复制后使用浏览器访问”——FuckWechatAntiOuterUrl

微信PC内置浏览器复制链接或使用其他浏览器打开也提示“如需浏览,请长按网址复制后使用浏览器访问”,本脚本应用后可以直接跳转目标网址。

< Feedback on “如需浏览,请长按网址复制后使用浏览器访问”——FuckWechatAntiOuterUrl

Question/comment

§
Posted: 05.04.2024

隐藏了打开链接时显示的微信拦截提示信息,直接跳转目标地址

// ==UserScript==
// @name         “如需浏览,请长按网址复制后使用浏览器访问”——FuckWechatAntiOuterUrl
// @namespace    http://xiandai.ren/
// @version      1.0
// @description  微信PC内置浏览器复制链接或使用其他浏览器打开也提示“如需浏览,请长按网址复制后使用浏览器访问”,本脚本应用后可以直接跳转目标网址。
// @author       Max39
// @match        https://weixin110.qq.com/cgi-bin/mmspamsupport-bin/newredirectconfirmcgi?*
// @grant        none
// @run-at       document-start
// @namespace    https://greasyfork.org/zh-CN/scripts/406675-%E5%A6%82%E9%9C%80%E6%B5%8F%E8%A7%88-%E8%AF%B7%E9%95%BF%E6%8C%89%E7%BD%91%E5%9D%80%E5%A4%8D%E5%88%B6%E5%90%8E%E4%BD%BF%E7%94%A8%E6%B5%8F%E8%A7%88%E5%99%A8%E8%AE%BF%E9%97%AE-wechatantiouterurl
// @downloadURL https://update.greasyfork.org/scripts/406675/%E2%80%9C%E5%A6%82%E9%9C%80%E6%B5%8F%E8%A7%88%EF%BC%8C%E8%AF%B7%E9%95%BF%E6%8C%89%E7%BD%91%E5%9D%80%E5%A4%8D%E5%88%B6%E5%90%8E%E4%BD%BF%E7%94%A8%E6%B5%8F%E8%A7%88%E5%99%A8%E8%AE%BF%E9%97%AE%E2%80%9D%E2%80%94%E2%80%94FuckWechatAntiOuterUrl.user.js
// @updateURL https://update.greasyfork.org/scripts/406675/%E2%80%9C%E5%A6%82%E9%9C%80%E6%B5%8F%E8%A7%88%EF%BC%8C%E8%AF%B7%E9%95%BF%E6%8C%89%E7%BD%91%E5%9D%80%E5%A4%8D%E5%88%B6%E5%90%8E%E4%BD%BF%E7%94%A8%E6%B5%8F%E8%A7%88%E5%99%A8%E8%AE%BF%E9%97%AE%E2%80%9D%E2%80%94%E2%80%94FuckWechatAntiOuterUrl.meta.js
// ==/UserScript==

var style = document.createElement('style');
style.innerHTML = 'body { display: none !important; }';
document.head.appendChild(style);

document.addEventListener('DOMContentLoaded', function() {
    document.body.style.display = 'block';

    var targetUrl = document.querySelector(".weui-msg__desc").innerText;
    window.location.href = targetUrl;
});
Max3Author
§
Posted: 08.04.2024

谢谢,已经更新

Post reply

Sign in to post a reply.