Last active
October 17, 2022 04:42
-
-
Save ipid/933b0f3a589fff6cc457ead0600486ef to your computer and use it in GitHub Desktop.
隐藏只命中作者的论文,隐藏非 CCF A、CCF B 的论文
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name dblp 按条件隐藏论文 | |
// @namespace https://ipidkun.com | |
// @version 0.1 | |
// @description 隐藏只命中作者的论文,隐藏非 CCF A、CCF B 的论文 | |
// @author ipid | |
// @match *://dblp.org/* | |
// @match *://*.dblp.org/* | |
// @match *://dblp.uni-trier.de/* | |
// @match *://*.dblp.uni-trier.de/* | |
// @grant none | |
// ==/UserScript== | |
(function() { | |
'use strict' | |
setInterval(() => { | |
const papers = document.querySelectorAll('li.entry') | |
for (const paper of papers) { | |
const title = paper.querySelector('span.title') | |
if (title.querySelector('mark') == null) { | |
paper.style.opacity = '10%' | |
} | |
} | |
}, 1000) | |
})() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment