Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // ==UserScript==
- // @name Go Away
- // @namespace com.numerama.goaway
- // @description Remove Pokemon Go
- // @include http://www.numerama.com/
- // @version 1
- // @grant none
- // ==/UserScript==
- $(function ()
- {
- var isPokemon = function($el)
- {
- return ($el.html().indexOf('pokemon') != -1);
- }
- for(var i=1;i<=4;i++)
- {
- $('article.featured-news_feat'+i).each(function()
- {
- /*if (isPokemon($(this)))
- $(this).remove();*/ // Casse l'affichage de la une, désactivé
- })
- }
- $('article.post-grid.format-article').each(function ()
- {
- if (isPokemon($(this)))
- $(this).remove();
- });
- $('section.universe-preview.preview-section').each(function()
- {
- if (isPokemon($(this)))
- $(this).remove();
- });
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement