您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
a script to force mediapart articles to be displayed in full page instead of having pagination
// ==UserScript== // @name _Mediapart, ensure that full page reading is enabled // @match *://*.mediapart.fr/* // @run-at document-start // @grant none // @description a script to force mediapart articles to be displayed in full page instead of having pagination // @version 0.0.1.20171110122150 // @namespace https://gf.qytechs.cn/users/158718 // ==/UserScript== var UrlPathToUse = window.location.pathname; var oldUrlPath = window.location.href; /*--- Test that "onglet=full" is at end of URL*/ if ( ! /onglet=full$/.test(oldUrlPath) ) { var newURL = window.location.protocol + "//" + window.location.host + UrlPathToUse + "?onglet=full" + window.location.hash ; /*-- replace() puts the good page in the history instead of the bad page. */ window.location.replace (newURL); }
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址