I have an application with fixed header and footer (it is important that they are not reloaded when we navigate through pages). I use HTMX. The attribute hx-push-url allows to have browsing history through the pages: we can use the “back” and “forward” buttons, and it works as expected: index.html: newpage1: newpage2: After having clicked on “Go to newpage1” button,
Tag: html5-history
How to make my userscript work on specific pages of a site that uses the history api?
(This is in continuation of this discussion) I’ve been trying to make a script (for instagram) that shows how many images out of total are currently visible when viewing a profile page (example profile). It shows the counter in the upper right corner of the screen and supports infinite scrolling. Here it is: My script works ok, but I have