新版CSDN自动阅读全文

自动点击新版CSDN自动阅读全文按钮

您需要先安裝使用者腳本管理器擴展,如 TampermonkeyGreasemonkeyViolentmonkey 之後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyViolentmonkey 後才能安裝該腳本。

您需要先安裝使用者腳本管理器擴充功能,如 TampermonkeyUserscripts 後才能安裝該腳本。

你需要先安裝一款使用者腳本管理器擴展,比如 Tampermonkey,才能安裝此腳本

您需要先安裝使用者腳本管理器擴充功能後才能安裝該腳本。

(我已經安裝了使用者腳本管理器,讓我安裝!)

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展,比如 Stylus,才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

你需要先安裝一款使用者樣式管理器擴展後才能安裝此樣式

(我已經安裝了使用者樣式管理器,讓我安裝!)

// ==UserScript==
// @name         新版CSDN自动阅读全文
// @namespace    http://tampermonkey.net/
// @version      0.2
// @description  自动点击新版CSDN自动阅读全文按钮
// @author       dreacter
// @match        http://blog.csdn.net/*/article/details/*
// @grant        none
// ==/UserScript==

//修改自https://greasyfork.org/zh-CN/scripts/29464-%E5%85%B3%E9%97%AD%E6%96%B0%E6%B5%AA%E5%8D%9A%E5%AE%A2%E5%AE%89%E8%A3%85flashplayer%E6%8F%90%E7%A4%BA%E7%AA%97%E5%8F%A3

var runcount = 0;
function clickbutton() {
  runcount = runcount + 1;
  if(runcount>9){runcount=10;return;}
  var buttonone = document.getElementsByClassName("read_more_btn")
  var i;
    for (i = 0; i < buttonone.length; i++) {
        buttonone[i].click();
    }
}
setInterval(clickbutton, 2);