28

Since recently, there have been two new buttons at either side of new questions. I find them quite distracting, as they are fixed in place, and stay in place as you scroll. Also, they pop up after the page loads, which is similarly distracting.

Screenshot

I don't think they are terribly useful, as clicking will take me to some question which I probably don't want to see.

Could an option be added to disable these ?

Or make them less intrusive, such as a link below the question (maybe under the asker info box, similar to the "add comment" link or in the sidebar, and perhaps also show the title of the next / previous item) ?

24
  • 4
    No repro. What is your machine's specs? Do you have any plugins that might cause this?
    – Makoto
    May 15, 2015 at 21:13
  • @Makoto, Maybe it's a staged rollout or testing on a few users. I'm on Firefox 35, Linux, they don't show in Chrome. May 15, 2015 at 21:16
  • I'm more inclined to blame Firefox than believe it's a staged rollout at this point. What do you see when you inspect those elements?
    – Makoto
    May 15, 2015 at 21:17
  • 6
    I see the buttons as well, definitely a Stack Exchange product. I like them a lot, though. Seem very useful for working through a list of questions.
    – Pekka
    May 15, 2015 at 21:18
  • 3
    @Makoto - You have to open the question from a list (like from the main page or a tag) to get the arrows to navigate through the list.
    – BSMP
    May 15, 2015 at 21:21
  • 2
    @Pekka웃, Yes, If you're working through a list of questions it's useful. Would still be nice if they were a little smaller / less intrusive. May 15, 2015 at 21:24
  • 17
    It's A/B testing. We're seeing if they drive more answers or not. Pseudo-secret pro-tip: If you have keyboard shortcuts enabled, you can use j/k to go back or forward without the tyranny of your mouse/trackpad.
    – Jaydles
    May 16, 2015 at 2:20
  • 1
    @JasonC, They are already pretty smart at what tags to show you. For example, if you come from the [jsoup] newest questions list, the buttons will only show you [jsoup] questions, even if they are tagged [java] also. May 16, 2015 at 6:56
  • 2
    @JasonC they browse the source list you came from, so once you're on the tag page you want and click a question, they'll only show questions with that tag.
    – Jaydles
    May 16, 2015 at 14:46
  • 2
    It seems I'm also in the test group. I can see how these would be useful to some styles of answering, but they're entirely superfluous to me (I prefer to skim the titles in the list rather than go through all one-by-one), so I'd agree that making them optional would be appreciated. If nothing else though, it would be nice if the tooltip text gave me the question snippet, like the main page does. I think the reason they feel jarring is because they are so separate from the page. It would be nicer if they tried to fit-in (perhaps as a <> to the right of the question title?)
    – Dave
    May 16, 2015 at 17:17
  • 2
    This will be an option that I can turn off, right?
    – j08691
    May 16, 2015 at 22:18
  • 2
    I hate the buttons, they make the site feel rather generic.
    – AStopher
    May 18, 2015 at 12:30
  • 1
    @DavidG, I don't think so - they should be the same function: "Show me the next/previous question, based on the list from which I arrived on this question."
    – Jaydles
    May 18, 2015 at 15:22
  • 2
    @DavidG, well, I'm a LOT less sure now. :) Thanks, we'll take a look.
    – Jaydles
    May 18, 2015 at 15:34
  • 1
    FYI, it is hard for me to articulate the visceral negative reaction I had to seeing those buttons. It literally made me want to leave the site immediately. Even if it turns out that a lot of people love it (really?) I really REALLY want this to be something I can turn off. May 20, 2015 at 1:41

2 Answers 2

19

If you are using Adblock/Adblock Edge/uBlock, add the two following custom filters:

stackoverflow.com##.previous-button
stackoverflow.com##.next-button
4
  • 1
    Also works with uBlock.
    – Oriol
    May 16, 2015 at 16:55
  • @Oriol: Cheers for the info, added into post. May 16, 2015 at 17:37
  • 4
    If you're going to do it yourself on the client, you can do it with stylish also.
    – KyleMit StaffMod
    May 18, 2015 at 17:25
  • @KyleMit: I'll take your word for it, I'm not a Chrome user. May 18, 2015 at 17:39
6

Fellow test subject here.

I wrote this userscript to get rid of it. Sort of. It's not perfect (flicker) but...

// ==UserScript==
// @name        remove-nav-buttons
// @namespace   phenix
// @include     http://stackoverflow.com/*
// @include     http://*.stackoverflow.com/*
// @version     1
// @grant       none
// ==/UserScript==


window.addEventListener('load', function() { 
  var previous = document.querySelector('.previous-button'), 
      next = document.querySelector('.next-button'); 

  if (previous) { 
    previous.parentNode.removeChild(previous); 
  }
  if (next) { 
    next.parentNode.removeChild(next); 
  }
});

For those that were asking, here's the HTML:

<div class="previous-button">
    <a title="previous question" href="http://stackoverflow.com/questions/30269251/ajax-requests-not-working-parallel?listId=a6f04c1cbeec43bc91205c897fcec20e" class="hit-box">
        <div class="left-arrow"></div>
    </a>
</div>

<div class="next-button">
    <a title="next question" href="http://stackoverflow.com/questions/30269923/providing-input-to-another-program-using-console-application?listId=a6f04c1cbeec43bc91205c897fcec20e" class="hit-box">
        <div class="right-arrow"></div>
    </a>
</div>

Edit:

In Firefox, the first response back from the server has this nugget in it (formatting mine):

<script>
StackExchange.ready(function() { 
    StackExchange.question.initNextPreviousButtons({
        "IsFromNextPrevious":true,
        "QuestionId":30270013,"ExpectedListId":"8b2543c85c0d47e2b050ef79ca54739f",
        "Referrer":"http://stackoverflow.com/questions/30269959/flot-how-to-show-the-x-axis-values-instead-of-y-axis-when-however"
    }); 
});
</script>

In which the response to Chrome is missing this. It seems based on comments above that the browser isn't indicative of whether or not this will load.

3
  • 3
    I might be able to make a user stylesheet to hide them without flicker. Thanks anyway ! May 16, 2015 at 5:56
  • 2
    If you wanted to do this with JS instead of CSS, seems like it'd be easier to just override StackExchange.question.initNextPreviousButtons with an empty function. May 16, 2015 at 20:32
  • @ChrisHayes I actually had tried that once I found that function but couldn't get the loading order right. I spent 2 minutes on this anyhow so...
    – jdphenix
    May 16, 2015 at 20:46

You must log in to answer this question.

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