您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Permet d'utiliser le site lemonde.fr sans javascript (noscript), avec des hyperliens fonctionnels. Necessite un navigateur récent.
当前为
// ==UserScript== // @name Lemonde.fr noscript URLs // @namespace http://tampermonkey.net/ // @version 0.1 // @description Permet d'utiliser le site lemonde.fr sans javascript (noscript), avec des hyperliens fonctionnels. Necessite un navigateur récent. // @author Jules Samuel Randolph // @match https://www.lemonde.fr/ // @grant none // ==/UserScript== (function() { document.querySelectorAll('span[data-href]').forEach(function (n) { const href = atob(n.getAttribute('data-href')) const anchor = document.createElement("a") anchor.setAttribute("href", href) anchor.textContent = n.textContent anchor.className = n.className n.replaceWith(anchor) }) })();