10

Clicking on share reloads the page on a slow connection. Tested on Chrome 105.0.5195.102 + Windows 10. I don't think it should reload the page. Demo:

Not sure if I should tag as bug or feature request.

13
  • 4
    This is what happens on all JavaScript powered menus when you click before JavaScript is loaded.
    – Laurel
    Sep 9 at 22:41
  • @Laurel thanks in that case it reloads. It doesn't go to all items page. Sep 9 at 22:45
  • 3
    @Franck Because in this case, the href attribute of the "Share" link is a link to the current question's page. This is exactly what happens with the other links listed in the linked question, except that they lead to a different link (i.e., what's in their href attribute). Sep 9 at 22:50
  • 3
    The fact that "share" links to the same page allows someone who doesn't have JavaScript enabled to get the share link via right click and "copy link". (Sounds like you might want to use right click yourself.) It's the same philosophy as those top bar pages which serve as an alternative to each menu dropdown.
    – Laurel
    Sep 9 at 23:05
  • 5
    I'm going to vote to leave this open because it's not the same as the well known top bar bug. This is the only report I've seen for a refresh bug on the share link.
    – bad_coder
    Sep 9 at 23:34
  • What kind of slow? 3G (long latency)? What are the bandwidth and ping times (to patents.stackexchange.com)? I get a ping time of 30-40 ms (4G in a relatively good location.) (Some local ones are, strangely, worse than that. At least right now.) Sep 9 at 23:45
  • The trial page. Sep 9 at 23:49
  • @bad_coder Okay, there's also the "Edit" link on Q&A pages and the "Edit" link on Watched Tags and Ignored Tags. Just in case someone's planning to post about those ones too :-D Sep 9 at 23:51
  • Related (includes JavaScript requirements): Which browsers are officially supported, and what else do I need? Sep 9 at 23:52
  • On that patents.stackexchange.com page, to work for most operations, like voting and "Share", JavaScript is only required from googleapis.com and stackexchange.com (googlesyndication.com is not). From NoScript on Firefox. Sep 10 at 0:00
  • 2
    Does anyone else notice the return of "doubleclick.net" (bottom left) at that strategic moment of a fraction of a second before refreshing? - could that be related?
    – W.O.
    Sep 10 at 2:16
  • 5
    This question is being discussed on meta. Sep 11 at 2:05
  • 1
    It would be quite easy to add some inline JavaScript that ensures the link is unclickable until the rest of the resources load. That way, someone who has JavaScript fully disabled will still be able to use it as a link, but people who have it enabled won't end up accidentally reloading the page. Sep 11 at 23:47

0

You must log in to answer this question.

Browse other questions tagged .