您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Usa el estilo rancio y acortado de los Permalinks a comentarios.
// ==UserScript== // @name meneame.net - Fix Permalinks // @namespace http://tampermonkey.net/ // @version 0.4 // @description Usa el estilo rancio y acortado de los Permalinks a comentarios. // @author ᵒᶜʰᵒᶜᵉʳᵒˢ // @include *.meneame.net/* // @connect meneame.net // @icon https://www.meneame.net/favicon.ico // @license GNU GPLv3 // ==/UserScript== // ---- SCRIPT values ---- const Permalink_URL = 'https://www.meneame.net/c/'; const User_Comment_URLs = ['/commented','/conversation','/shaken_comments','/favorite_comments']; (function() { var URL = window.location.href; if (link_id > 0 || URL.includes('&w=comments') || URL.includes('meneame.net/c/') || (URL.includes('/user/') && (User_Comment_URLs.reduce((a,c) => a + URL.includes(c), 0) == 1))) { var comments = document.querySelectorAll('a[title="Permalink"]'); for (var comment of comments) { var number = comment.parentNode.childNodes[1].id.lastIndexOf('-'); if (number){ comment.setAttribute('href', Permalink_URL + comment.parentNode.childNodes[1].id.substring(number + 1)); } } } })();
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址