835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
|
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
|
-
+
+
+
+
+
+
+
+
|
** Ideas and TODOs:
**
** o kTMLN: ensure the correct page is opened when used from /finfo (it seems
** the tooltip also gets this "wrong", but maybe that's acceptable, because
** in order to be able to construct /file URLs, the information provided by
** the timeline-data-N blocks would have to be extended).
** o kFRST, kLAST: check if the previous/next page should be opened if focus is
** already at the top/bottom.
** already at the top/bottom. UPDATE: the current behavior seems to be "more
** predictable", i.e. these shortcuts reliably focus the top/bottom item.
** o Shortcut(s) to (re)load /timeline with different View Style or Entry Limit
** by appending query parameters `&ss={ViewStyle}&n={EntryLimit±N}&udc=1' to
** the URL; alternatively set keyboard focus to the "View Style" <select> or
** to the "Max:" <input> field.
** o Auto-expand the hidden details (hash, user, tags) for focused entries in
** Compact View (by inheritance via CSS class `.timelineFocused').
*/
(function(){
window.addEventListener('load',function(){
// "Primary" (1) and "secondary" (2) selections swapped compared to CSS classes:
// (1) .timelineSecondary →
// /vdiff?to=, /timeline?sel2=
// (2) .timelineSelected:not(.timelineSecondary) →
|