I made a userscript that works on https://stackoverflow.com/questions/* which removes Stackoverflows' ads (It works Well). But when I click on "read more comments" for a question form or interact with some buttons of the question, the website scrolls to the top not enabling me to read more comment or etc...
I have tried to disable the userscript after that the page acts normally, but when I re-enable the script back the webpage does not interact.
// ==UserScript==
// @name NoStackAds
// @namespace http://tampermonkey.net/
// @version 1.1
// @require http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js
// @description try to take over the stack!
// @author me
// @match https://stackoverflow.com/questions/*
// @grant none
// ==/UserScript==
$(document).ready(function(){
$(".everyonelovesstackoverflow.everyoneloves__top-leaderboard").remove();
});
When I enable the script the ads disappear (as expected). But the web page becomes no more normal.
I am not sure what are the best tags to be used.