Discourse Disable Browser History Experiment

:discourse2: Summary Discourse Browser History suppresses updating of URL during topic navigation
:hammer_and_wrench: Repository Link https://github.com/discourse/browser_history
:open_book: Install Guide How to install plugins in Discourse

This plugin introduces a (default disabled) user preference which affects how Discourse’s infinite scrolling works.

When a user enables the setting, it will prevent their browser’s URL bar from updating as they scroll down a topic [1]. Instead, the URL bar will be ‘stuck’ on whichever post they initially landed on.

In general this is not recommended, because it means bookmarking and sharing URLs will not function as expected. This plugin should only be used if you have a specific reason for needing this non-default behaviour.

Also note: this plugin will not have any effect on search-engine indexing.


  1. technically, it prevents replaceState calls ↩︎

15 Likes