0

This question already has an answer here:

For a variety of reasons, I'd love to be able to restrict which questions I see on my Stack Exchange questions page (i.e.: https://stackexchange.com/questions).

For instance, I haven't seen Avengers: Endgame yet and am starting to see questions come out that, sooner or later, are going to spoil something. The same goes for GOT.

Additionally, I personally find the Worldbuilding questions somewhat tedious and would like to avoid them.

Is there a way to achieve this, much like we can do with tags on specific Stack Exchange sites?

marked as duplicate by Rob, PolyGeo, Pierre.Vriens, Ward, Robert Longson Apr 27 at 5:57

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

  • 1
    What do you mean by "questions page"? By the way, note that you can ignore the avengers-endgame tag. Doesn't that work for you? At the moment there's only provision for tag-based limiting. – Blue Apr 26 at 17:20
  • 1
    I think they're referring to the stackexchange.com homepage, @Blue. – Sonic the Bracketed Hedgehog Apr 26 at 17:20
  • You mean something like this which is already available or something like this which isn't yet. – Robert Longson Apr 26 at 17:21
  • 1
    @SonictheInclusiveHedgehog that's correct. I've updated the question accordingly. Also, thanks for the thoughtful pronoun choice. I use he/him/his. – Dancrumb Apr 26 at 17:36
  • @Blue, as far as I am aware, you cannot ignore tags from a specific exchange on the StackExchange questions page. – Dancrumb Apr 26 at 17:37
  • @Dancrumb That's true. There was a related feature-request too. Anyway, it should be possible to write up a userscript for ignoring site-specific tags fairly easily i.e. something similar to this. – Blue Apr 26 at 17:40
  • @RobertLongson those are close, but they seem to only affect the "Filtered Questions" page and not the landing page. – Dancrumb Apr 26 at 17:42
  • 2
    Yes, thanks for clarifying. I use plural pronouns out of habit. Also, note that here on Meta Stack Exchange, on questions requesting new features, voting is used to signify agreement or disagreement with a given proposal, so if your question gets downvoted, it may just mean that people disagree with your proposal, not necessarily that your question is bad for the site. – Sonic the Bracketed Hedgehog Apr 26 at 18:14
  • I feel this poster's pain. I've finally hidden the HNQ after seeing all the questions clamoring for rep the day after a huge show comes out. – zero298 Apr 29 at 17:18
2

Following the suggestions in some of the comments, I'm offering this to those that could use it:

// ==UserScript==
// @name        Hide SE site from Hot Questions
// @namespace   stackexchange
// @description Hide certain Stack Exchange sites from the Hot Network Questions list.
// @match     https://stackexchange.com/*
// @match     https://stackexchange.com
// @version     1
// ==/UserScript==

/*
For list of Stack Exchange sites, look here:
    http://stackexchange.com/sites?view=list#traffic

Put your excluded sites here under variable 'ignore'.  Example, if you want to ignore Arqade and Mathematica:
    var ignore="Arqade,Mathematica";
*/
//This is just an example list, I have nothing against these sites, they just happened to have Hot Questions when this was made
var ignore=["scifi.stackexchange.com", "worldbuilding.stackexchange.com"];


var questList=document.getElementById("question-list").getElementsByTagName("div");
var curSite="";
    console.info('Running...');

for(let i=0;i<questList.length;i++){
    const sid=questList[i].dataset.sid;
    if(ignore.includes(sid)) {
        questList[i].style.height = "0";
        questList[i].style.visibility = "hidden";
    }
}

Not the answer you're looking for? Browse other questions tagged .