The first two points have already been accomplished.
(or maybe you want 2 individual histories? one continuous/auto, the other discrete/manual?)
As for the third, the default Alt + ← and Alt + → shortcuts essentially achieve the same effect (yet combined with this plug, its behavior is a little subtle -_-||).
Still, given that page-view history is tracked independently of cursor location, the official Page Picker effectively provides this functionality, supported by an existing API/property: Expose Page( Picker)'s hidden attr: lastOpened? - #2 by ChenZhu-Xie, see also index.
Still, since you need it, I’ll help you realize this idea — the third — when I have time.
In this regard, I’ve noticed the following:
- The ordering of entries in the
Page Pickerdoes not seem to perfectly match a strict descending sort of lastOpened. - The page-view history allows duplicates, whereas the Page Picker and any lastOpened-based ordering do not.
So… what exactly are we looking for? Or… maybe everything? … (not a question)