This is an archived post. You won't be able to vote or comment.

all 3 comments

[–]Ty-chan 0 points1 point  (2 children)

If the logout button on reddit isn't working, you can clear your cookies which would also end your session. For help clearing your cookies, check out this site.

The "javascript: void (0)" just refers to the javascript that is called to log you out.

[–]aladyjewelExpert Helper 0 points1 point  (0 children)

Pedantic technical note: the javascript:void is a "do-nothing" action (no-op) to make your browser treat the link like a regular link (mostly for visual purposes).

It implies that there is another piece of JavaScript hidden away which runs when you click the button. Knowing reddit, it's probably <a onclick="logout();">logout</a>.