
on zerohedge site, an upvote or downvote causes a page reload. why? (no such problem with chrome)
on zerohedge.com, clicking an up-vote or down-vote bottom causes the entire page to reload. This is neither necessary nor desired. Chrome doesn't have such a problem.
All Replies (4)
Hmm, I suspect you need to be logged in to vote, so I'm only going to be able to speculate here.
Is your vote getting recorded?
One possible reason for a page reload would be if the script attached to the voting link/button did not execute properly or did not successfully cancel the link navigation. If a script crashes, often the page will reload with a # after it, as the default behavior of many scripted links. If the script succeeds, it needs to return "false" to Firefox to prevent the link from being followed.
the up-vote and down-vote buttons won't even show if user is not logged in.
each vote got recorded after a time-consuming page reload.
As I said, this is a problem with Firefox's recent versions. I don't have any problem with the voting buttons in Chrome and earlier Firefox versions (like a year ago).
Modified
Some addition info:
I have Adblock Plus on both Firefox and Chrome. The voting buttons work normally in Chrome, but not in Firefox, unless Adblock Plus is disabled.
Microsoft's .net framework (disabled in recent Firefox versions) seems to have something to do with the irregularity as well, because when I re-enable it and restart Firefox, the voting buttons will work temporarily, until Adblock Plus removes the Ads that appeared initially.
Finally, this problem occurs on my XP laptop. (Love XP, faster than Win 7 pro. Can't stand Win 8.)
Modified
When you say Adblock Plus needs to be disabled, you mean just using the Stop sign button to disable it for that one site? It could that the voting buttons use some kind of tracking code that the extension does not like. Adblock Plus is powered by "lists" that you can select among, so it may behave differently on different systems. In case you want to consult with experienced Adblock Plus users on whether you're using the best list for your needs, or whether this might be a bug that needs to get fixed, you could try their forum: https://adblockplus.org/forum/
Most non-Microsoft sites do not use .Net technology, so it would be strange if that turned out to be the issue.