Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save thedom85/789f922bc4a34b4c3a53f82e9e094f0a to your computer and use it in GitHub Desktop.
Save thedom85/789f922bc4a34b4c3a53f82e9e094f0a to your computer and use it in GitHub Desktop.
Javascript_Greasemonkey_TagHighlighter.user.js
// ==UserScript==
// @name Tag Highlighter
// @namespace https://github.com/thedom85/TagHighlighter
// @description exec JS TagHighlighter on document loaded
// @include *
// @require https://raw.githubusercontent.com/thedom85/TagHighlighter/master/src/taghighlighter.js
// @version 1
// @grant none
// ==/UserScript==
//Avoid conflict
var fileref=document.createElement('script');
fileref.setAttribute("type","text/javascript");
fileref.setAttribute("src", "https://raw.githubusercontent.com/thedom85/TagHighlighter/master/src/taghighlighter.js");
document.addEventListener("DOMContentLoaded", function(event) {
taghighlighter.Hlighter("*","pesticide");
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment