Last active
February 6, 2024 10:51
-
-
Save CAYdenberg/9e467d52182b88114297a33061547c60 to your computer and use it in GitHub Desktop.
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 Obscure journal names in PubMed | |
// @namespace http://tampermonkey.net/ | |
// @version 2024-02-01 | |
// @description try to take over the world! | |
// @author You | |
// @match https://pubmed.ncbi.nlm.nih.gov/* | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=nih.gov | |
// @grant none | |
// ==/UserScript== | |
const SELECTORS = [ | |
".docsum-journal-citation", | |
".journal-actions-trigger", | |
".link-item", | |
".identifier.doi", | |
".citation-doi" | |
].join(', '); | |
(function() { | |
'use strict'; | |
document.querySelectorAll(SELECTORS).forEach(el => { | |
el.style.filter = 'blur(6px)'; | |
}); | |
})(); |
Same as before but also blurs authors.
// ==UserScript==
// @name Obscure journal names in PubMed
// @namespace http://tampermonkey.net/
// @version 2024-02-01
// @description try to take over the world!
// @author You
// @match https://pubmed.ncbi.nlm.nih.gov/*
// @match https://www.ncbi.nlm.nih.gov/pmc/*
// @icon https://www.google.com/s2/favicons?sz=64&domain=nih.gov
// @grant none
// ==/UserScript==
const SELECTORS = [
// authors
".authors-list",
".docsum-authors",
".contrib-group", // pmc
// journals
".citation-default", // pmc
".usa-breadcrumb", // pmc
".citation-default", // pmc
".courtesy-note", // pmc
".pmc-page-banner img", // pmc
".linkout-category-links",
".docsum-journal-citation",
".journal-actions-trigger",
".link-item",
".identifier.doi",
".citation-doi"
].join(', ');
(function() {
'use strict';
document.querySelectorAll(SELECTORS).forEach(el => {
el.style.filter = 'blur(6px)';
el.title = '';
el.src = '';
el.href = '';
});
})();
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Tweaked to also remove information that shows on mouse over and also to handle full text pages on PMC.