Skip to content

notian/Genius.it-Blocker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Simple no configuration Genius.it annotator blocker.

This snippet on any web page (or in a .js file) will redirect away from genius.it back to the source site:

/* No Config genius.it blocker */
(function(){
	var l = document.location;
	if( l.host == 'genius.it' ){
		var p = l.pathname.substring(1).split('/');
		if( parseInt( p[0] ).toString() == p[0]  ) {
			p.shift(); /* Get rid Genius ID (if applicable) */
		}
		document.location = '//'+p.join('/');
	}
})();

To block (or harrass) genius web annotators using an extension, use one of the other js files.

About

Redirect away from Genius.it

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published