// ==UserScript== // @name CSDN 阅读更多 && 免登陆查看 // @namespace http://github.com/soxfmr // @version 0.2 // @description CSDN 自动展开全文 && 免登陆查看 // @author soxfmr // @match https://blog.csdn.net/*/article/details/* // @grant none // @downloadURL none // ==/UserScript== (function() { 'use strict'; /* Before we press the ReadMore button, do some initialization... */ window.csdn.anonymousUserLimit.judgment = function() { return true; }; /* Enhance hook */ window.csdn.anonymousUserLimit.Jumplogin = function () { console.log("Fuck CSDN :)"); }; var btnMore = document.getElementById("btn-readmore"); if (btnMore != undefined) { btnMore.click(); } else { console.log("No button found."); } })();