Skip to content

Instantly share code, notes, and snippets.

@philippbayer
Created April 13, 2017 03:01
Show Gist options
  • Select an option

  • Save philippbayer/cd206b68c839da2e0ab0d4e43147acc7 to your computer and use it in GitHub Desktop.

Select an option

Save philippbayer/cd206b68c839da2e0ab0d4e43147acc7 to your computer and use it in GitHub Desktop.
A Greasemonkey script that adds ', with limited success' to paper titles. Currently only at PLoS because it was the easiest.
// ==UserScript==
// @name , with limited success
// @namespace mine
// @description Adds ', with limited success' to titles of papers. Currently only PLoS supported
// @include *.plos.org/*article*
// @version 1
// @grant none
// ==/UserScript==
var els = document.getElementById("artTitle");
if (els) {
var old = els.textContent;
var old = old + ', with limited success';
els.textContent = old;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment