您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Bypass all medium blogs paywall (external domain and subdomains too)
当前为
// ==UserScript== // @name Unlock All Medium.com Blogs // @description Bypass all medium blogs paywall (external domain and subdomains too) // @version 1.0 // @match *://*/* // @author SH3LL // @license MIT // @namespace https://greasyfork.org/users/762057 // ==/UserScript== (function() { 'use strict'; // Medium tag hook const mediumTag = document.querySelector('meta[data-rh="true"][property="og:site_name"][content="Medium"]'); // Check the tag if (mediumTag) { console.log("Medium.com TAG Found: <meta data-rh='true' property='og:site_name' content='Medium'>"); const authorTag = document.querySelector('meta[data-rh="true"][name="author"]') if (authorTag) { const unlocked_page="https://medium.rest/query-by-url?urlPost="+window.location.href; console.log("Redirection to: "+unlocked_page); window.location.href=unlocked_page; } else { console.log("Medium.com AUTHOR TAG Not Found. Not Redirected !"); } } else { console.log("Medium.com BLOG TAG Not Found. Not Redirected !"); } })();