您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
try to take over the world!
- // ==UserScript==
- // @name OpenReview Helper
- // @name:en OpenReview Helper
- // @name:zh-CN OpenReview Helper
- // @namespace http://tampermonkey.net/
- // @version 0.1.2
- // @description try to take over the world!
- // @description:zh-CN try to take over the world!
- // @author Han Yang
- // @match https://openreview.net/group?id=*
- // @grant none
- // ==/UserScript==
- !function(){"use strict";function e(e){console.log(e);let o=e.getAttribute("data-id"),t=`notes?forum=${o}&details=replyCount`;console.log(t),fetch(t).then(async t=>{let n=(await t.json()).count-1;console.log(o,n,e),document.querySelector(`li[data-id='${o}']`).append(`reply count: ${n}`)})}function o(){let o=document.querySelector("#all-submissions").querySelectorAll("li.note");console.log(o);for(let t=0;t<o.length;++t)console.log(t),e(o[t])}document.getElementById("notes").onchange=function(){setTimeout(o,1e3)}}();