Skip to content

Instantly share code, notes, and snippets.

@frkorz
Last active February 16, 2025 19:00

Revisions

  1. frkorz revised this gist Feb 16, 2025. No changes.
  2. frkorz revised this gist Nov 9, 2024. 1 changed file with 4 additions and 1 deletion.
    5 changes: 4 additions & 1 deletion moaichg.txt
    Original file line number Diff line number Diff line change
    @@ -302,13 +302,16 @@ you can type the command #<number>Enter into any navigation box to change
    the size of all navigation boxes. the <number> can be between 1 and 80.
    you can set the navSize variable in the tampermonkey script options to
    override the default size of the navigation boxes.

    there are seven commands that when typed into a navigatioin box
    selectivly display posts in a new tab. this does not result in any
    index rebuild for the new page being saved in the browser global memory.
    type the characters a or d or c1 or c2 or cu or s and press Enter.
    ther seventh command is to paste a URL that starts with "http" into

    the seventh command is to paste a URL that starts with "http" into
    a navigation box to search for all posts that contain a link to the URL.
    also for "http" searches the loadAllPosts option is forced for the new tab.

    the Tab forward key on the last displayed post (red nav box background)
    on any of these new tabs will not refresh the page.

  3. frkorz revised this gist Oct 23, 2024. 1 changed file with 23 additions and 15 deletions.
    38 changes: 23 additions & 15 deletions moaichg.txt
    Original file line number Diff line number Diff line change
    @@ -9,7 +9,7 @@
    * NAV BOX NAVIGATION:
    * DISABLED SAME PAGE NAVIGATION:
    * WHITE/BLACK/COLOR/CONTENT LISTS:
    * COMMANDS a d c1 c2 cu s p n b e http:
    * COMMANDS http a d c1 c2 cu s p n b e sd lc:
    * COMMANDS u v cnt:
    * POST REPLY BOX COMMANDS:
    * FULL PAGE WIDTH OPTION:
    @@ -45,9 +45,9 @@ configuration variable "threadNewTab" to true which is located in the
    configuration area of the tampermonkey script.
    if you lose focus on a navigation box, just type control-y. it will return
    you to the last selected navigation box.
    on the main page, control-(qzsx) also work as left handed page/scroll keys
    (PageUp, PageDown, ArowUp, ArrowDown respectivly). enabled by configuration
    option enableLeftCtl set to true.
    on the main page, control-(azsx) also work as left handed page/scroll keys
    (PageUp, PageDown, ArowUp, ArrowDown respectivly). these keys only work if
    the navigation box command lc Enter has been used to toggled the option to true.

    * GENERATING REFERENCES: HTML BUTTON AND "Posted by" line:
    we have a "Posted by:" line at the beginning of the post and
    @@ -129,11 +129,12 @@ may be used with the shift key. another optimization is the "Home" key functions
    as a shift Tab key. this works well with a bluetooth keypad. all the navigation
    keys are available for either the left or right hand use. if no navigation box
    is selected the End key and Home key revert to their normal behavior of moving
    the display to the end or the start of the page. as support for lefties (like me),
    the control-z and control-a keys function as alternate PageDown and PageUp keys
    respectivly, while control-x and control-s keys function as ArrowDown and Arrowup
    keys respectivly. be carefull not to press control-w as this will close the tab.
    it should not take long for you to learn this.
    the display to the end or the start of the page.
    as support for lefties (like me), the control-z and control-a keys function as
    alternate PageDown and PageUp keys respectivly, while control-x and control-s keys
    function as ArrowDown and Arrowup keys respectivly. be carefull not to press control-w
    as this will close the tab. it should not take long for you to learn this. the azsx control
    keys only work if the command "lc Enter" has been used to toggle the option to true.
    a side effect of Tab/shift-Tab or End/Home is that as you move all around the page
    with the mouse wheel or the page motion keys or the scroll bar,
    the current navigation box stays selected.
    @@ -292,7 +293,7 @@ control-shift-D which will duplicate the line. paste the user name between
    the two spaces or paste the content between the ''.
    remove any "//" at the start of the line.

    * COMMANDS a d c1 c2 cu s p n b e http:
    * COMMANDS http a d c1 c2 cu s p n b e sd lc:
    yes, the navigation boxes are small and it is hard to tell what you have
    typed into them. this is why when you hover the mouse over a navigation box
    a tooltip attempts to show the text in the box. the tooltip is triggered on
    @@ -362,16 +363,23 @@ now this copy can involve manuvers that would reload the copy page.
    then you close the reload copy page and you will still have your
    original a or d or c1 or c2 or cu or s page.

    typing p and enter into a navigation box is exactly the same as a mouse click
    typing p and Enter into a navigation box is exactly the same as a mouse click
    on the previous-page link.
    typing n and enter into a navigation box is exactly the same as a mouse click
    typing n and Enter into a navigation box is exactly the same as a mouse click
    on the next-page link.

    typing b and enter into a navigation box will position the display to the start
    typing b and Enter into a navigation box will position the display to the start
    of the document. the current navigation box stays selected.
    typing e and enter into a navigation box will position the display to the end
    typing e and Enter into a navigation box will position the display to the end
    of the document. the current navigation box stays selected.

    typing sd and Enter into a navigation box will toggle the global state of the
    option to skip deleted posts on pressing the Tab key.

    typing lc and Enter into a navigation box will toggle the global state of the
    option to allow left hand use of control-(azsx) for PageUp, PageDown, ArrowUp,
    ArrowDown keys respectivly.

    * COMMANDS u v cnt:
    typing u and enter into a navigation box sets a browser global flag so that
    only posts for the current posts user are displayed. this will affect not only
    @@ -383,7 +391,7 @@ note that neither the u or v command will refresh the current page but will
    change the display of the current page.
    sometimes the content of a post contains a user name and you want to see all
    all their posts. type the u command with the user name and press enter.
    important: a u command should always end with a v command when you are done
    IMPORTANT: a u command should always end with a v command when you are done
    or it will keep trying to only display that user and give warning popups if
    there are none on the page.
    you can work backwards page by page by typing in the p command and enter.
  4. frkorz revised this gist Sep 2, 2024. 1 changed file with 23 additions and 6 deletions.
    29 changes: 23 additions & 6 deletions moaichg.txt
    Original file line number Diff line number Diff line change
    @@ -9,8 +9,8 @@
    * NAV BOX NAVIGATION:
    * DISABLED SAME PAGE NAVIGATION:
    * WHITE/BLACK/COLOR/CONTENT LISTS:
    * COMMANDS a d c1 c2 cu s p n b e:
    * COMMANDS u v:
    * COMMANDS a d c1 c2 cu s p n b e http:
    * COMMANDS u v cnt:
    * POST REPLY BOX COMMANDS:
    * FULL PAGE WIDTH OPTION:
    * SCRIPT COLOR OPTIONS:
    @@ -292,7 +292,7 @@ control-shift-D which will duplicate the line. paste the user name between
    the two spaces or paste the content between the ''.
    remove any "//" at the start of the line.

    * COMMANDS a d c1 c2 cu s p n b e:
    * COMMANDS a d c1 c2 cu s p n b e http:
    yes, the navigation boxes are small and it is hard to tell what you have
    typed into them. this is why when you hover the mouse over a navigation box
    a tooltip attempts to show the text in the box. the tooltip is triggered on
    @@ -301,10 +301,13 @@ you can type the command #<number>Enter into any navigation box to change
    the size of all navigation boxes. the <number> can be between 1 and 80.
    you can set the navSize variable in the tampermonkey script options to
    override the default size of the navigation boxes.
    there are six commands that when typed into a navigatioin box
    there are seven commands that when typed into a navigatioin box
    selectivly display posts in a new tab. this does not result in any
    index rebuild for the new page being saved in the browser global memory.
    type the characters a or d or c1 or c2 or cu or s and press Enter.
    ther seventh command is to paste a URL that starts with "http" into
    a navigation box to search for all posts that contain a link to the URL.
    also for "http" searches the loadAllPosts option is forced for the new tab.
    the Tab forward key on the last displayed post (red nav box background)
    on any of these new tabs will not refresh the page.

    @@ -369,7 +372,7 @@ of the document. the current navigation box stays selected.
    typing e and enter into a navigation box will position the display to the end
    of the document. the current navigation box stays selected.

    * COMMANDS u v:
    * COMMANDS u v cnt:
    typing u and enter into a navigation box sets a browser global flag so that
    only posts for the current posts user are displayed. this will affect not only
    the current page but all future moa post pages that are loaded in any moa tabs.
    @@ -388,6 +391,17 @@ the u and username will be selected in the navigation box by the u command.
    the p enter will replace the text in the navigation box and the previous
    page will try to only display that users posts.

    typing "cnt Enter" will display various counts in a popup depending on the mode.
    BadHTML bad characters in the user name can cause incorrect html,
    these posts are deleted because they cannot be processed.
    Posts the number of displayed posts.
    Unicode the number of post containing unicode characters.
    Deleted the number of posts that were deleted.
    Color1 the number of color 1 posts displayed.
    Color2 the number of color 2 posts displayed.
    Unmatched the number of posts not matched by the search command.
    NoUser the number of posts not matched by the cu command.

    * POST REPLY BOX COMMANDS:
    when you post a reply to the moa server sometimes things dont work.
    i alwayms lose the text i was going to send when this happens.
    @@ -464,7 +478,8 @@ fetched from the server. Tabbing off the last post takes a little longer
    because it has to refetch all the posts, including any new posts. When
    you are on an a commad all posts tab, tabbing off the end is disabled.
    No index is saved to browser local memory because the script has the whole
    index and it is rebuilt on each load/refresh.
    index and it is rebuilt on each load/refresh. the pasted "http" command
    force loadAllPosts to true only for the newly created tab.

    * NAVIGATION BOX TYPED COMMANDS:
    the following commands are only valid if a navigation box is selected.
    @@ -477,6 +492,7 @@ a open new tab temporarily displaying all posts on page
    b goto beginning of page (dont change navigation box selection)
    c1 open new tab temporarily displaying all color 1 posts on page
    c2 open new tab temporarily displaying all color 2 posts on page
    cnt display various post counts depending on mode
    cu open new tab temp display all posts content matching "matchUsr"
    d open new tab temporarily displaying all deleted posts on page
    e goto end of page (dont change navigation box selection)
    @@ -501,6 +517,7 @@ s<paste> open tab and display only posts containg the value <paste>
    <paste> can be characters or /regex/gm
    p<paste> loads bookmarks from <paste> data
    <paste> is from last control-0 with c in nav box
    <httpURL> open tab and display only posts containg links to <httpURL>

    * NAV BOX PASTED AND TYPED COMMANDS MENU:
    a = new tab all posts || d = new tab deleted posts
  5. frkorz revised this gist Aug 22, 2024. No changes.
  6. frkorz revised this gist Aug 21, 2024. 1 changed file with 20 additions and 15 deletions.
    35 changes: 20 additions & 15 deletions moaichg.txt
    Original file line number Diff line number Diff line change
    @@ -11,6 +11,7 @@
    * WHITE/BLACK/COLOR/CONTENT LISTS:
    * COMMANDS a d c1 c2 cu s p n b e:
    * COMMANDS u v:
    * POST REPLY BOX COMMANDS:
    * FULL PAGE WIDTH OPTION:
    * SCRIPT COLOR OPTIONS:
    * POST BOOKMARKS:
    @@ -358,20 +359,6 @@ now this copy can involve manuvers that would reload the copy page.
    then you close the reload copy page and you will still have your
    original a or d or c1 or c2 or cu or s page.

    when you post a reply to the moa server sometimes things dont work.
    i alwayms lose the text i was going to send when this happens.
    for example when it tells me my page has expired and i have to refresh it.
    i get so annoyed that i just forget about posting. so now whenever the post
    text area loses focus, the text area text is saved. if you type control-r in
    the post text area it will paste the saved text in the post
    text area replacing anything there. no more lost text. losing focus when
    the text area has no visible text (space, tab, newline are not visible) does not
    overwrite any saved text. if you are constructing a reply and you screw it up
    you can use this to go back to the last saved version of your work. just empty
    the text area (now losing focus will not overwrite any
    saved text). then press control-r in the text area which will replace the text
    area with the last saved text.

    typing p and enter into a navigation box is exactly the same as a mouse click
    on the previous-page link.
    typing n and enter into a navigation box is exactly the same as a mouse click
    @@ -401,6 +388,24 @@ the u and username will be selected in the navigation box by the u command.
    the p enter will replace the text in the navigation box and the previous
    page will try to only display that users posts.

    * POST REPLY BOX COMMANDS:
    when you post a reply to the moa server sometimes things dont work.
    i alwayms lose the text i was going to send when this happens.
    for example when it tells me my page has expired and i have to refresh it.
    i get so annoyed that i just forget about posting. so now whenever the post
    text area loses focus, the text area text is saved. if you type control-r in
    the post text area it will paste the saved text in the post
    text area replacing anything there. no more lost text. losing focus when
    the text area has no visible text (space, tab, newline are not visible) does not
    overwrite any saved text. if you are constructing a reply and you screw it up
    you can use this to go back to the last saved version of your work. just empty
    the text area (now losing focus will not overwrite any
    saved text). then press control-r in the text area which will replace the text
    area with the last saved text.
    you might think the reply box is too small. typing control-b in the reply box
    will double the number of rows with each press. if you prefer the configuration
    variable "replyBoxRows" if not null is the initial size of the reply box.

    * FULL PAGE WIDTH OPTION:
    by default the page of user posts is displayed using the full width of the
    browser window. in order to get this to work the moon of alabama logo had
    @@ -525,7 +530,7 @@ control-/ will popup a control key menu for the nav box.
    control-y switch to comment post box
    control-[ load paste buffer with post text
    control-] load paste buffer with post html
    control-\\ load paste buffer with complete post html
    control-\ load paste buffer with complete post html
    control-a PageUp control-z PageDown
    control-s ArrowUp control-x ArrowDown
    control-shift-? enter/paste commands menu
  7. frkorz revised this gist Aug 21, 2024. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions moaichg.txt
    Original file line number Diff line number Diff line change
    @@ -553,6 +553,7 @@ control-y switch to last selected navigation box
    control-[ insert <BLOCKQUOTE>
    control-] insert </BLOCKQUOTE>
    control-\ insert <BLOCKQUOTE>\n\n</BLOCKQUOTE>\n
    control-b double the rows of the reply text area, can do again, refresh to restore
    control-shift-| insert <pre></pre>
    control-r restore comment post box saved text

  8. frkorz revised this gist Aug 20, 2024. No changes.
  9. frkorz revised this gist Aug 20, 2024. 1 changed file with 2 additions and 4 deletions.
    6 changes: 2 additions & 4 deletions moaichg.txt
    Original file line number Diff line number Diff line change
    @@ -458,10 +458,8 @@ it is much faster because everything is in memory and nothing needs to be
    fetched from the server. Tabbing off the last post takes a little longer
    because it has to refetch all the posts, including any new posts. When
    you are on an a commad all posts tab, tabbing off the end is disabled.
    When you use the browser back button to return to your original post it
    is very fast because nothing needs to be reloaded. No index is saved to
    browser local memory because the script has the whole index and its rebuilt
    on each load/refresh.
    No index is saved to browser local memory because the script has the whole
    index and it is rebuilt on each load/refresh.

    * NAVIGATION BOX TYPED COMMANDS:
    the following commands are only valid if a navigation box is selected.
  10. frkorz revised this gist Aug 20, 2024. 1 changed file with 3 additions and 1 deletion.
    4 changes: 3 additions & 1 deletion moaichg.txt
    Original file line number Diff line number Diff line change
    @@ -459,7 +459,9 @@ fetched from the server. Tabbing off the last post takes a little longer
    because it has to refetch all the posts, including any new posts. When
    you are on an a commad all posts tab, tabbing off the end is disabled.
    When you use the browser back button to return to your original post it
    is very fast because nothing needs to be reloaded.
    is very fast because nothing needs to be reloaded. No index is saved to
    browser local memory because the script has the whole index and its rebuilt
    on each load/refresh.

    * NAVIGATION BOX TYPED COMMANDS:
    the following commands are only valid if a navigation box is selected.
  11. frkorz revised this gist Aug 20, 2024. 1 changed file with 13 additions and 0 deletions.
    13 changes: 13 additions & 0 deletions moaichg.txt
    Original file line number Diff line number Diff line change
    @@ -14,6 +14,7 @@
    * FULL PAGE WIDTH OPTION:
    * SCRIPT COLOR OPTIONS:
    * POST BOOKMARKS:
    * ALL POSTS OPTION:
    * NAVIGATION BOX TYPED COMMANDS:
    * NAVIGATION BOX PASTE COMMANDS:
    * NAV BOX PASTED AND TYPED COMMANDS MENU:
    @@ -448,6 +449,18 @@ format with the single letter p in a nav box. the format is the same as that
    generated by the control-0 keypress with the single letter c in the selected
    navigation box.

    * ALL POSTS OPTION:
    The option "loadAllPosts" when set to true enables loading all posts that
    are available for a thread on entering/reloading page 1 of a thread.
    This can take a little longer than normal when you start loading several
    hundred posts. When you paste post numbers or timestamps to a navigation box
    it is much faster because everything is in memory and nothing needs to be
    fetched from the server. Tabbing off the last post takes a little longer
    because it has to refetch all the posts, including any new posts. When
    you are on an a commad all posts tab, tabbing off the end is disabled.
    When you use the browser back button to return to your original post it
    is very fast because nothing needs to be reloaded.

    * NAVIGATION BOX TYPED COMMANDS:
    the following commands are only valid if a navigation box is selected.
    Enter if no command and at first post, return to post from last 'f' command
  12. frkorz revised this gist Aug 17, 2024. 1 changed file with 593 additions and 2475 deletions.
    3,068 changes: 593 additions & 2,475 deletions moaichg.txt
    593 additions, 2,475 deletions not shown because the diff is too large. Please use a local Git client to view these changes.
  13. frkorz revised this gist Aug 17, 2024. 1 changed file with 2475 additions and 593 deletions.
    3,068 changes: 2,475 additions & 593 deletions moaichg.txt
    2,475 additions, 593 deletions not shown because the diff is too large. Please use a local Git client to view these changes.
  14. frkorz revised this gist Aug 16, 2024. No changes.
  15. frkorz revised this gist Aug 15, 2024. 1 changed file with 11 additions and 4 deletions.
    15 changes: 11 additions & 4 deletions moaichg.txt
    Original file line number Diff line number Diff line change
    @@ -43,7 +43,7 @@ configuration variable "threadNewTab" to true which is located in the
    configuration area of the tampermonkey script.
    if you lose focus on a navigation box, just type control-y. it will return
    you to the last selected navigation box.
    on the main page, control-(azsx) also work as left handed page/scroll keys
    on the main page, control-(qzsx) also work as left handed page/scroll keys
    (PageUp, PageDown, ArowUp, ArrowDown respectivly). enabled by configuration
    option enableLeftCtl set to true.

    @@ -295,7 +295,10 @@ yes, the navigation boxes are small and it is hard to tell what you have
    typed into them. this is why when you hover the mouse over a navigation box
    a tooltip attempts to show the text in the box. the tooltip is triggered on
    entry to the box. so if you do not see it, then leave and re-enter.

    you can type the command #<number>Enter into any navigation box to change
    the size of all navigation boxes. the <number> can be between 1 and 80.
    you can set the navSize variable in the tampermonkey script options to
    override the default size of the navigation boxes.
    there are six commands that when typed into a navigatioin box
    selectivly display posts in a new tab. this does not result in any
    index rebuild for the new page being saved in the browser global memory.
    @@ -423,8 +426,10 @@ there are 9 bookmarks to record posts of interest. they are implemented by
    the keys control-1 through control-9. to make a bookmark type descriptive
    text for the bookmark in one of the navigation boxes of the post of interest.
    then type control-n (where n is the bookmark number). this will record a title
    and the URL reference to the post. to get a menu of the bookmark titles just
    type control-0 with the current selected navigation box empty. this will popup
    and the URL reference to the post. the saved title will have the post number
    prepended to the title text to help you identify where the post is at.
    to get a menu of the bookmark titles just type control-0 with the current
    selected navigation box empty. this will popup
    a list with the bookmark number and title for all 9 bookmarks. to get a menu
    of all the bookmark URL's type control-0 with the single letter l in the
    current navigation box. this will popup a list with the bookmark number and
    @@ -467,6 +472,7 @@ u<value> global display only posts by user <value>, use 'v' to reset
    v remove user restriction set by 'u' command
    s<arg> open tab and display only posts containg the value <arg>
    <arg> can be characters or /regex/gm
    #<n> set nav box size to <n> where 1 <= <n> <= 80

    * NAVIGATION BOX PASTE COMMANDS:
    first item is navigation box contents, second is paste buffer contents.
    @@ -523,6 +529,7 @@ when posting a comment there are some keyboard shortcuts.
    control-[ will insert the text <BLOCKQUOTE> at the text area current position.
    control-] will insert the text </BLOCKQUOTE> at the text area current position.
    control-\ will insert <BLOCKQUOTE><NL><NL></BLOCKQUOTE><NL> at curr pos.
    each nested BLOCKQUOTE will set the font size to 90% of the outer one.
    control-y will switch to the last selected navigation box (use control-y to return).
    control-r will replace the text area with the saved text from last lost focus.
    control-/ will popup a control key menu for the post comment box.
  16. frkorz revised this gist Aug 12, 2024. 1 changed file with 57 additions and 62 deletions.
    119 changes: 57 additions & 62 deletions moaichg.txt
    Original file line number Diff line number Diff line change
    @@ -1,16 +1,15 @@
    --- SECTION INDEX:
    * INTRO MOA:
    * NEW POST DIFFERENCES:
    * DELETED POSTS ANNOTATIONS:
    * GENERATING REFERENCES: HTML BUTTON AND "Posted by" line:
    * TAB KEY, PGUP+PGDN, UPAR+DNAR, END, HOME:
    * DELETED POSTS ANNOTATIONS:
    * INDEX BUILDING:
    * PERMALINK FORMAT:
    * NAV BOX: PASTE + ENTKEY+F+L:
    * NAV BOX NAVIGATION:
    * DISABLED SAME PAGE NAVIGATION:
    * WHITE/BLACK/COLOR/CONTENT LISTS:
    * COMMANDS a d c1 c2 cu s r p n b e:
    * COMMANDS a d c1 c2 cu s p n b e:
    * COMMANDS u v:
    * FULL PAGE WIDTH OPTION:
    * SCRIPT COLOR OPTIONS:
    @@ -48,54 +47,9 @@ on the main page, control-(azsx) also work as left handed page/scroll keys
    (PageUp, PageDown, ArowUp, ArrowDown respectivly). enabled by configuration
    option enableLeftCtl set to true.

    * NEW POST DIFFERENCES:
    if you have TomScript or MOAhome installed in tampermonkey make sure you disable them.
    load the following web page with the XTomScript script disabled in tampermonkey.
    https://www.moonofalabama.org/2023/07/please-support-moon-of-alabama/comments/page/1/#comment-6a00d8341c640e53ef02b751aad6f2200c
    you should be at post 38. this is an example of the current Moon of Alabama
    user interface.
    we have a post which contains three references to other posts.
    the last line is the normal "Posted by:" line for this post.
    now we go over to the tampermonkey icon on the upper right on the browser window.
    click on the tampermonkey icon then scroll down to the dashboard and click on it
    this gives us a tampermonkey dashboard in a new tab.
    go down to the XTomScript entry and click the enable so its green.
    now go back to the moon of Alabama tab and refresh the page.
    the tampermonkey script processes the page before it is displayed.
    we find our post 38 again.
    * GENERATING REFERENCES: HTML BUTTON AND "Posted by" line:
    we have a "Posted by:" line at the beginning of the post and
    at the end of the post.

    * DELETED POSTS ANNOTATIONS:
    when the text of a post is deleted but you enable display of the "Posted by:" lines
    one of the following lines is displayed instead of the text of the post.
    also when you use the letter d command to only see deleted posts, one of the
    following lines will show up as the first line of the content letting you
    know why the post was deleted.
    where <len> is the length of the deleted post.

    USER DELETE <len>
    the text was deleted because the username was in the delete list.

    USER UNICODE DELETE <len>
    the text was deleted because the username contained the unicode characters for o e a.

    UNICODE DELETE <len>
    the text was deleted because the text contained the unicode characters for o e a.

    CONTENT DELETE <contentValue> <len>
    the text was deleted because the <contentValue> was found in the post.
    wherer <contentValue> is one of the following:
    "case sensistive text you dont want to see"
    lc"case insensitive text you dont want to see"
    re"regular expression you dont want to see"

    INVALID HTML CONTENT
    bad user names (like starting with the "<" character) will generate invalid html
    and the code cannot handle all the possible invalid constructions so the post is
    deleted.

    * GENERATING REFERENCES: HTML BUTTON AND "Posted by" line:
    the background color of the "Posted by:" line for your posts can be
    changed by setting the "matchUsr" and "colorUsr" configuration
    options in the tampermonkey script. this can be used in conjunction
    @@ -158,6 +112,8 @@ and you press Tab there are two possible results.
    FIX: since this situation is detectable a popup is displayed informing you of the lost
    focus. surprisingly when you dismiss the popup by either clicking on OK or pressing
    Enter, the focus then gets restored to the navigation box. Wow the logic of computers.
    if you use the End key instead of the Tab key then focus is never lost, however you
    may wind up at the end of the page (but still with the nav box selected).
    note that the navigation boxes for the last post on a page always have a red
    background color. this way you always know when you are on the last post.
    if you tab off the last post and the navigation box is still red then you know
    @@ -194,6 +150,36 @@ if you press the tab key you end up at the start of the page and are lost.
    you can press control-y or just refresh the page (F5) and it will redisplay at the\
    post with the last selected navigation box.

    * DELETED POSTS ANNOTATIONS:
    when the text of a post is deleted but you enable display of the "Posted by:" lines
    one of the following lines is displayed instead of the text of the post.
    also when you use the letter d command to only see deleted posts or the letter a
    command to see all posts, one of the following lines will show up as the first line
    of the content letting you know why deleted posts would have been deleted. there
    will be no blank line between the "posted by" line and the delete reason line.
    where <len> is the length of the deleted post.

    USER DELETE <len>
    the text was deleted because the username was in the delete list.

    USER UNICODE DELETE <len>
    the text was deleted because the username contained the unicode characters for o e a.

    UNICODE DELETE <len>
    the text was deleted because the text contained the unicode characters for o e a.

    CONTENT DELETE <contentValue> <len>
    the text was deleted because the <contentValue> was found in the post.
    wherer <contentValue> is one of the following:
    "case sensistive text you dont want to see"
    lc"case insensitive text you dont want to see"
    re"regular expression you dont want to see"

    INVALID HTML CONTENT
    bad user names (like starting with the "<" character) will generate invalid html
    and the code cannot handle all the possible invalid constructions so the post is
    deleted.

    * INDEX BUILDING:
    each time you switch to a new page an index of the visible "Posted by:" lines is built
    in browser memory and saved in browser global memory. indexes in global
    @@ -304,44 +290,53 @@ control-shift-D which will duplicate the line. paste the user name between
    the two spaces or paste the content between the ''.
    remove any "//" at the start of the line.

    * COMMANDS a d c1 c2 cu s r p n b e:
    * COMMANDS a d c1 c2 cu s p n b e:
    yes, the navigation boxes are small and it is hard to tell what you have
    typed into them. this is why when you hover the mouse over a navigation box
    a tooltip attempts to show the text in the box. the tooltip is triggered on
    entry to the box. so if you do not see it, then leave and re-enter.

    there are six commands that when typed into a navigatioin box
    selectivly display posts in a new tab. this does not result in any
    index rebuild for the new page being saved in the browser global memory.
    type the characters a or d or c1 or c2 or cu or s and press Enter.
    the Tab forward key on the last displayed post on a page will not refresh the page.
    the Tab forward key on the last displayed post (red nav box background)
    on any of these new tabs will not refresh the page.

    for the letter a, a new tab is opened that displays a temporary version
    of the current web page but it contains all the posts,
    including all deleted posts.
    including all deleted posts (with the deletion reason line after the top "posted
    by" line and no blank line separator..
    if you reload this new page in any way it reverts to the normal display behavior
    that is configured in.

    for the letter d, a new tab is opened that displays a temporary version
    of the current web page but it contains only the deleted posts with
    all their text content displayed. one of the lines from "* DELETED POSTS
    ANNOTATIONS:" will show up as the first line of the content letting you know
    why the post was deleted.

    why the post was deleted. no blank line between the top "posted by" line and
    the deletion reason line.
    if you reload this new page in any way it reverts to the normal display behavior
    that is configured in.

    for the letters c1, a new tab is opened that displays a temporary version
    of the current web page but it contains only the color 1 posts.
    if you reload this new page in any way it reverts to the normal display behavior
    that is configured in.

    for the letters c2, a new tab is opened that displays a temporary version
    of the current web page but it contains only the color 2 posts.
    if you reload this new page in any way it reverts to the normal display behavior
    that is configured in.

    for the letters cu, a new tab is opened that displays a temporary version
    of the current web page but it contains only the posts that match the "matchUsr"
    option text. this matches against the user name text in the "Posted by:" line or
    matches anywhere in the text of the post. so it matches your posts and replies to
    your posts. this does not work if your user name is not unique.
    if you reload this new page in any way it reverts to the normal
    display behavior that is configured in.

    for the letter s, a new tab is opened that displays a temporary version
    of the current web page but it contains only the posts that match the string
    that is entered after the letter s. you can also just type an s and then paste
    @@ -352,6 +347,7 @@ then it is a regular expression search. you can add regular expression flags
    string "It" at the start of a line ues "s/^It/&gm" (without the "").
    if you reload this new page in any way it reverts to the normal
    display behavior that is configured in.

    you can always use a or d or c1 or c2 or cu or s on the new page to make another
    copy of the of the newly created page with the appropriate behavior.
    now this copy can involve manuvers that would reload the copy page.
    @@ -362,16 +358,15 @@ when you post a reply to the moa server sometimes things dont work.
    i alwayms lose the text i was going to send when this happens.
    for example when it tells me my page has expired and i have to refresh it.
    i get so annoyed that i just forget about posting. so now whenever the post
    text area loses focus, the text area text is saved. if you type the command r in any
    navigation box and press enter it will paste the saved text in the post
    text area loses focus, the text area text is saved. if you type control-r in
    the post text area it will paste the saved text in the post
    text area replacing anything there. no more lost text. losing focus when
    the text area has no visible text (space, tab, newline are not visible) does not
    overwrite any saved text. if you are constructing
    a reply and you screw it up you can use this to go back to the last version
    of your work. just empty the text area (now losing focus will not overwrite any
    saved text). select a navigation box and type the r and enter command to get a
    copy of the text saved put in the text area. or you can press control-r in
    the text area which will replace the text area with the saved text.
    overwrite any saved text. if you are constructing a reply and you screw it up
    you can use this to go back to the last saved version of your work. just empty
    the text area (now losing focus will not overwrite any
    saved text). then press control-r in the text area which will replace the text
    area with the last saved text.

    typing p and enter into a navigation box is exactly the same as a mouse click
    on the previous-page link.
  17. frkorz revised this gist Aug 4, 2024. No changes.
  18. frkorz revised this gist Aug 4, 2024. 1 changed file with 7 additions and 1 deletion.
    8 changes: 7 additions & 1 deletion moaichg.txt
    Original file line number Diff line number Diff line change
    @@ -69,6 +69,9 @@ at the end of the post.
    * DELETED POSTS ANNOTATIONS:
    when the text of a post is deleted but you enable display of the "Posted by:" lines
    one of the following lines is displayed instead of the text of the post.
    also when you use the letter d command to only see deleted posts, one of the
    following lines will show up as the first line of the content letting you
    know why the post was deleted.
    where <len> is the length of the deleted post.

    USER DELETE <len>
    @@ -318,7 +321,10 @@ if you reload this new page in any way it reverts to the normal display behavior
    that is configured in.
    for the letter d, a new tab is opened that displays a temporary version
    of the current web page but it contains only the deleted posts with
    all their text content displayed.
    all their text content displayed. one of the lines from "* DELETED POSTS
    ANNOTATIONS:" will show up as the first line of the content letting you know
    why the post was deleted.

    if you reload this new page in any way it reverts to the normal display behavior
    that is configured in.
    for the letters c1, a new tab is opened that displays a temporary version
  19. frkorz revised this gist Jul 30, 2024. No changes.
  20. frkorz revised this gist Jul 30, 2024. 1 changed file with 46 additions and 7 deletions.
    53 changes: 46 additions & 7 deletions moaichg.txt
    Original file line number Diff line number Diff line change
    @@ -14,11 +14,12 @@
    * COMMANDS u v:
    * FULL PAGE WIDTH OPTION:
    * SCRIPT COLOR OPTIONS:
    * POST BOOKMARKS:
    * NAVIGATION BOX TYPED COMMANDS:
    * NAVIGATION BOX PASTE COMMANDS:
    * NAV BOX PASTED AND TYPED COMMANDS MENU
    * NAV BOX PASTED AND TYPED COMMANDS MENU:
    * NAV BOX SPECIAL KEYS:
    * NAV BOX CONTROL KEY MENU
    * NAV BOX CONTROL KEY MENU:
    * "Post a comment" SPECIAL KEYS:
    * "Post a comment" MENU:
    * NAVIGATION BOX DEBUG COMMANDS:
    @@ -413,6 +414,34 @@ to replace them with different colors.
    there are two user lists in the script that can each have an optional color for
    the text assigned to them.

    * POST BOOKMARKS:
    bookmarks are stored in browser global storage and persist until deleted.
    to enable bookmarks and the associated commands you must have the config
    variable enablePostMarks set to true in the tampermonkey script.
    there are 9 bookmarks to record posts of interest. they are implemented by
    the keys control-1 through control-9. to make a bookmark type descriptive
    text for the bookmark in one of the navigation boxes of the post of interest.
    then type control-n (where n is the bookmark number). this will record a title
    and the URL reference to the post. to get a menu of the bookmark titles just
    type control-0 with the current selected navigation box empty. this will popup
    a list with the bookmark number and title for all 9 bookmarks. to get a menu
    of all the bookmark URL's type control-0 with the single letter l in the
    current navigation box. this will popup a list with the bookmark number and
    URL for all 9 bookmarks. if you type control-0 with a single letter d in the
    current navigation box then all bookmarks will be deleted. to delete a single
    bookmark type control-n (where n is the bookmark number) with a single letter
    d in the current selected navigation box. to goto a bookmark just type control-n
    (where n is the bookmark number) with the current selected navigation box
    empty. this will either display the bookmark post at the top of the window or
    if the post no longer exists you will be at the start of the page where it was
    supposed to be. in either case use the browser back button to return to your
    last selected post. type control-0 with the single letter c in the current
    navigation box to load the paste buffer with all the bookmark titles and links
    in a format to reload. to reload the bookmarks paste the data in the correct
    format with the single letter p in a nav box. the format is the same as that
    generated by the control-0 keypress with the single letter c in the selected
    navigation box.

    * NAVIGATION BOX TYPED COMMANDS:
    the following commands are only valid if a navigation box is selected.
    Enter if no command and at first post, return to post from last 'f' command
    @@ -445,8 +474,10 @@ first item is navigation box contents, second is paste buffer contents.
    u<paste> global display only posts by user <paste>, use 'v' to reset
    s<paste> open tab and display only posts containg the value <paste>
    <paste> can be characters or /regex/gm
    p<paste> loads bookmarks from <paste> data
    <paste> is from last control-0 with c in nav box

    * NAV BOX PASTED AND TYPED COMMANDS MENU
    * NAV BOX PASTED AND TYPED COMMANDS MENU:
    a = new tab all posts || d = new tab deleted posts
    c1 = new tab color 1 posts || c2 = new tab color 2 posts
    cu = your posts/replys || p = prev page || n = next page
    @@ -470,14 +501,21 @@ control-d is an ArrowUp key for the page
    control-/ will popup a control key menu for the nav box.
    only scroll wheel will allow seeing menus larger than the box

    * NAV BOX CONTROL KEY MENU
    * NAV BOX CONTROL KEY MENU:
    control-y switch to comment post box
    control-[ load paste buffer with post text
    control-] load paste buffer with post html
    control-\\ load paste buffer with complete post html
    control-a PageUp control-z PageDown
    control-s ArrowUp control-x ArrowDown
    control-shift-? enter/paste commands menu
    control-s ArrowUp control-x ArrowDown
    control-shift-? enter/paste commands menu
    control-(1-9) with d in nav box delete bookmark (1-9)
    control-(1-9) with text in nav box save bookmark (1-9)
    control-0 with empty nav box popup list of 1-9 titles
    control-0 with nav box = l popup list of 1-9 URL links
    control-0 with nav box = d delete all bookmarks
    control-0 with nav box = c copy all bookmarks title and link
    control-0 with nav box = p paste bookmarks from copy command

    * "Post a comment" SPECIAL KEYS:
    when posting a comment there are some keyboard shortcuts.
    @@ -527,7 +565,8 @@ last selected post. so a browser refresh will redisplay whererever you currently
    on the page. this is so you can page through the article by b and not lose your place
    where you are reading. once you type the tab key you will now forever have a last
    selected post on this browser tab and so a browser refresh will always redisplay
    to that post.
    to that post. when you enter the first page by clicking on the Comments link then
    you enter the page with the first post selected by default.

    - if you are on the last post on a page (red background on nav boxes) and you
    type Tab (or End) more than once quickly then the browser can lose the selection
  21. frkorz revised this gist Jul 27, 2024. 1 changed file with 66 additions and 31 deletions.
    97 changes: 66 additions & 31 deletions moaichg.txt
    Original file line number Diff line number Diff line change
    @@ -8,8 +8,6 @@
    * PERMALINK FORMAT:
    * NAV BOX: PASTE + ENTKEY+F+L:
    * NAV BOX NAVIGATION:
    * NAV BOX SPECIAL KEYS:
    * "Post a comment" SPECIAL KEYS:
    * DISABLED SAME PAGE NAVIGATION:
    * WHITE/BLACK/COLOR/CONTENT LISTS:
    * COMMANDS a d c1 c2 cu s r p n b e:
    @@ -18,6 +16,11 @@
    * SCRIPT COLOR OPTIONS:
    * NAVIGATION BOX TYPED COMMANDS:
    * NAVIGATION BOX PASTE COMMANDS:
    * NAV BOX PASTED AND TYPED COMMANDS MENU
    * NAV BOX SPECIAL KEYS:
    * NAV BOX CONTROL KEY MENU
    * "Post a comment" SPECIAL KEYS:
    * "Post a comment" MENU:
    * NAVIGATION BOX DEBUG COMMANDS:
    * KNOWN QUIRKS:
    * NOTE bluetooth keypad:
    @@ -258,28 +261,6 @@ first or last post respectively. you are still on the current page.
    to return to the post you came from just press enter on either of the two
    navigation boxes for the first/last post with an empty navigation box.

    * NAV BOX SPECIAL KEYS:
    the following immediate commands can be typed into any navigation box.
    control-[ will load the paste buffer with the text of the current post.
    control-] will load the paste buffer with HTML for the current post.
    control-\ will load the paste buffer with HTML for the complete current
    post including post id anchor, and both posted by lines.
    control-/ will popup a control key menu for the nav box.
    control-y will switch to the post comment box (use control-y to return).
    control-z is a PageDown key for the page
    control-a is a PageUp key for the page
    control-x is an ArrowDown key for the page
    control-d is an ArrowUp key for the page

    * "Post a comment" SPECIAL KEYS:
    when posting a comment there are some keyboard shortcuts.
    control-[ will insert the text <BLOCKQUOTE> at the text area current position.
    control-] will insert the text </BLOCKQUOTE> at the text area current position.
    control-\ will insert <BLOCKQUOTE><NL><NL></BLOCKQUOTE><NL> at curr pos.
    control-r will replace the text area with the saved text from last lost focus.
    control-/ will popup a control key menu for the post comment box.
    control-y will switch to the last selected navigation box (use control-y to return).

    * DISABLED SAME PAGE NAVIGATION:
    the third use of the navigation box if it is enabled (which by default it is not)
    is if the destinatioin post in within the same page.
    @@ -451,17 +432,70 @@ l goto last post on page (link it to current post, Enter key to return)
    n simulate click on "next page" link if there is one
    p simulate click on "previous page" link if there is one
    r restore text auto-saved from text area post box at end of page
    s<value> open tab and display only posts containg the string <value>
    u global display only posts by current post user, use 'v' to reset
    u<value> global display only posts by user <value>, use 'v' to reset
    v remove user restriction set by 'u' command
    s<arg> open tab and display only posts containg the value <arg>
    <arg> can be characters or /regex/gm

    * NAVIGATION BOX PASTE COMMANDS:
    first item is navigation box contents, second is paste buffer contents.
    <EMPTY><number> goto post number, browser back button to return
    <EMPTY><numberWith:> goto first post with timestamp, browser back button to return
    s<paste> open tab and display only posts containg the string <paste>
    u<paste> global display only posts by user <paste>, use 'v' to reset
    s<paste> open tab and display only posts containg the value <paste>
    <paste> can be characters or /regex/gm

    * NAV BOX PASTED AND TYPED COMMANDS MENU
    a = new tab all posts || d = new tab deleted posts
    c1 = new tab color 1 posts || c2 = new tab color 2 posts
    cu = your posts/replys || p = prev page || n = next page
    b = Home || e = End || f = 1st post || l =last post
    s<pasted> || s<typedtext>Enter
    new tab search for pasted or typed text
    search arg can be scharacters or s/regex/gm
    u = global search for cur or spec user || v = clr srch

    * NAV BOX SPECIAL KEYS:
    the following immediate commands can be typed into any navigation box.
    control-[ will load the paste buffer with the text of the current post.
    control-] will load the paste buffer with HTML for the current post.
    control-\ will load the paste buffer with HTML for the complete current
    post including post id anchor, and both posted by lines.
    control-y will switch to the post comment box (use control-y to return).
    control-z is a PageDown key for the page
    control-a is a PageUp key for the page
    control-x is an ArrowDown key for the page
    control-d is an ArrowUp key for the page
    control-/ will popup a control key menu for the nav box.
    only scroll wheel will allow seeing menus larger than the box

    * NAV BOX CONTROL KEY MENU
    control-y switch to comment post box
    control-[ load paste buffer with post text
    control-] load paste buffer with post html
    control-\\ load paste buffer with complete post html
    control-a PageUp control-z PageDown
    control-s ArrowUp control-x ArrowDown
    control-shift-? enter/paste commands menu

    * "Post a comment" SPECIAL KEYS:
    when posting a comment there are some keyboard shortcuts.
    control-[ will insert the text <BLOCKQUOTE> at the text area current position.
    control-] will insert the text </BLOCKQUOTE> at the text area current position.
    control-\ will insert <BLOCKQUOTE><NL><NL></BLOCKQUOTE><NL> at curr pos.
    control-y will switch to the last selected navigation box (use control-y to return).
    control-r will replace the text area with the saved text from last lost focus.
    control-/ will popup a control key menu for the post comment box.
    only scroll wheel will allow seeing menus larger than the box

    * "Post a comment" MENU:
    control-y switch to last selected navigation box
    control-[ insert <BLOCKQUOTE>
    control-] insert </BLOCKQUOTE>
    control-\ insert <BLOCKQUOTE>\n\n</BLOCKQUOTE>\n
    control-shift-| insert <pre></pre>
    control-r restore comment post box saved text

    * NAVIGATION BOX DEBUG COMMANDS:
    type command and Enter
    @@ -484,7 +518,7 @@ highly unlikely for 100 pages to be inserted or deleted. if not found it is most
    likely that the post was deleted.

    - sometimes when you paste a post number/timestamp it displays the target post but not
    at the top of the window. sometimes it is in the middle.
    at the top of the window. sometimes it is in the middle. this is a browser quirk.

    - a browser refresh will place the last selected post at the top of the browser window
    and select the lower navigation box of this post. however, when you enter the first
    @@ -495,10 +529,11 @@ where you are reading. once you type the tab key you will now forever have a las
    selected post on this browser tab and so a browser refresh will always redisplay
    to that post.

    - if you are on the last post on a page (red background lower nav box) and you
    type Tab (or End) more than once quickly then it will lose the selection of the
    navigation box. a temporary fix is to type F5 to refresh the screen and the
    navigation box selection will be restored.
    - if you are on the last post on a page (red background on nav boxes) and you
    type Tab (or End) more than once quickly then the browser can lose the selection
    of the navigation box. so the nav box will no longer respond to keystrokes.
    a temporary fix is to type F5 to refresh the screen and the navigation box
    selection will be restored.

    * NOTE bluetooth keypad:
    the folloiwing has been disabled, the keys repeat.
  22. frkorz revised this gist Jul 24, 2024. No changes.
  23. frkorz revised this gist Jul 23, 2024. No changes.
  24. frkorz revised this gist Jul 23, 2024. 1 changed file with 5 additions and 2 deletions.
    7 changes: 5 additions & 2 deletions moaichg.txt
    Original file line number Diff line number Diff line change
    @@ -40,6 +40,9 @@ configuration variable "threadNewTab" to true which is located in the
    configuration area of the tampermonkey script.
    if you lose focus on a navigation box, just type control-y. it will return
    you to the last selected navigation box.
    on the main page, control-(azsx) also work as left handed page/scroll keys
    (PageUp, PageDown, ArowUp, ArrowDown respectivly). enabled by configuration
    option enableLeftCtl set to true.

    * NEW POST DIFFERENCES:
    if you have TomScript or MOAhome installed in tampermonkey make sure you disable them.
    @@ -418,7 +421,7 @@ to be deleted. you can go back to the original behavior by setting the option
    "fullPageWidth" at the script start to false.

    * SCRIPT COLOR OPTIONS:
    if you run the nrowser in dark mode, any colors you select will probably be
    if you run the browser in dark mode, any colors you select will probably be
    modified by the browser.
    you can select a color for the post content background. i selected
    the color wheat which turns into a brownish color in dark mode.
    @@ -462,7 +465,7 @@ u<paste> global display only posts by user <paste>, use 'v' to reset

    * NAVIGATION BOX DEBUG COMMANDS:
    type command and Enter
    %dump colsole log all key/value pairs in local storage
    %dump colsole log all local storage key/value pairs
    %hist console log number of history entries and script state
    %inx console log post index for each page of the thread
    %length popup display number of local storage entries
  25. frkorz revised this gist Jul 22, 2024. 1 changed file with 18 additions and 2 deletions.
    20 changes: 18 additions & 2 deletions moaichg.txt
    Original file line number Diff line number Diff line change
    @@ -26,6 +26,20 @@
    * INTRO MOA:
    the home page for moon of alabama has all the thread titles converted to
    links. click on the thread title to go to the start of the thread post page.
    a navigation box has been added to the left of the thread date and the left
    of the thread titles. use the Tab key (also the End key) to move forward to
    the next navigation box. use the shift-Tab key (also the Home key) to move
    backward to the prior navigation box. each navigation box will be displayed
    at the top of the browser window. the last navigation box is highlighted
    with a red background. a Tab key (or the Home key) on the last navigation
    box will click on the next page link to advance to the next page of threads.
    press the Enter key while a navigation box for a thread title is selected
    will load the first page of posts for that thread in the current tab.
    if you prefer to have thread pages opened in a new tab then set the
    configuration variable "threadNewTab" to true which is located in the
    configuration area of the tampermonkey script.
    if you lose focus on a navigation box, just type control-y. it will return
    you to the last selected navigation box.

    * NEW POST DIFFERENCES:
    if you have TomScript or MOAhome installed in tampermonkey make sure you disable them.
    @@ -167,8 +181,8 @@ page refresh in the browser will position the page at the last post with
    a selected navigation box.
    if you lose focus on a navigation box, say by selecting some text in a post.
    if you press the tab key you end up at the start of the page and are lost.
    just refresh the page (F5) and it will redisplay at the post with the last
    selected navigation box.
    you can press control-y or just refresh the page (F5) and it will redisplay at the\
    post with the last selected navigation box.

    * INDEX BUILDING:
    each time you switch to a new page an index of the visible "Posted by:" lines is built
    @@ -245,6 +259,8 @@ navigation boxes for the first/last post with an empty navigation box.
    the following immediate commands can be typed into any navigation box.
    control-[ will load the paste buffer with the text of the current post.
    control-] will load the paste buffer with HTML for the current post.
    control-\ will load the paste buffer with HTML for the complete current
    post including post id anchor, and both posted by lines.
    control-/ will popup a control key menu for the nav box.
    control-y will switch to the post comment box (use control-y to return).
    control-z is a PageDown key for the page
  26. frkorz revised this gist Jul 15, 2024. No changes.
  27. frkorz revised this gist Jul 14, 2024. 1 changed file with 4 additions and 0 deletions.
    4 changes: 4 additions & 0 deletions moaichg.txt
    Original file line number Diff line number Diff line change
    @@ -247,6 +247,10 @@ control-[ will load the paste buffer with the text of the current post.
    control-] will load the paste buffer with HTML for the current post.
    control-/ will popup a control key menu for the nav box.
    control-y will switch to the post comment box (use control-y to return).
    control-z is a PageDown key for the page
    control-a is a PageUp key for the page
    control-x is an ArrowDown key for the page
    control-d is an ArrowUp key for the page

    * "Post a comment" SPECIAL KEYS:
    when posting a comment there are some keyboard shortcuts.
  28. frkorz revised this gist Jul 13, 2024. 1 changed file with 34 additions and 26 deletions.
    60 changes: 34 additions & 26 deletions moaichg.txt
    Original file line number Diff line number Diff line change
    @@ -8,6 +8,8 @@
    * PERMALINK FORMAT:
    * NAV BOX: PASTE + ENTKEY+F+L:
    * NAV BOX NAVIGATION:
    * NAV BOX SPECIAL KEYS:
    * "Post a comment" SPECIAL KEYS:
    * DISABLED SAME PAGE NAVIGATION:
    * WHITE/BLACK/COLOR/CONTENT LISTS:
    * COMMANDS a d c1 c2 cu s r p n b e:
    @@ -90,8 +92,7 @@ the resulting display of the line will show the post number at the time
    the link was created. deletes by b can change the post number. however
    the html link uses the moa post id to identify the post which does not change.
    so you can be directed to a post with a different post number but the user
    and timestamp will match. try this by clicking on the reference to post 129.
    it will go to post 128 because the post number has changed.
    and timestamp will match.
    a link to a deleted post should generate a 404 message because no post exists
    with the id in the link (even though there may be a post with the post number).

    @@ -137,17 +138,20 @@ note that the navigation boxes for the last post on a page always have a red
    background color. this way you always know when you are on the last post.
    if you tab off the last post and the navigation box is still red then you know
    no new posts have been added.
    the page up and page down keys in addition
    to the up and down arrow keys will allow you to scroll thru longer posts.
    they wont change which navigation box is selected. these four keys allow your
    right hand to control navigation. but unfortunately the Tab key is on the other
    the page up and page down keys in addition to the up and down arrow keys will allow you to
    scroll thru longer posts. they wont change which navigation box is selected. these four
    keys allow your right hand to control navigation. but unfortunately the Tab key is on the other
    side of the keyboard. so to fix that annoyance the "End" key when pressed and
    a navigation box is selected will function as an alternate Tab key which also
    may be used with the shift key. another optimization is the "Home" key functions
    as a shift Tab key. this works well with a bluetooth keypad. all the navigation
    keys are available for either the left or right hand use. if no navigation box
    is selected the End key and Home key revert to their normal behavior of moving
    the display to the end or the start of the page.
    the display to the end or the start of the page. as support for lefties (like me),
    the control-z and control-a keys function as alternate PageDown and PageUp keys
    respectivly, while control-x and control-s keys function as ArrowDown and Arrowup
    keys respectivly. be carefull not to press control-w as this will close the tab.
    it should not take long for you to learn this.
    a side effect of Tab/shift-Tab or End/Home is that as you move all around the page
    with the mouse wheel or the page motion keys or the scroll bar,
    the current navigation box stays selected.
    @@ -217,39 +221,42 @@ this is an optimization to reduce the number of new pages that get loaded
    in following a tree of replies and is much faster.

    * NAV BOX NAVIGATION:
    a paste to a navigation box will open the new page in the current tab.
    typing and pressing enter will open the new page in a new tab.
    for example when you have a post that refers to another post
    without using an html anchor.
    here post 38 refers to post number 30.
    select the post number and then paste it into the navigation box.
    you are immediatly taken to post 30 and the prior post 38 is in the
    browser history. click the browseer back button to return to post 38.
    if we scroll down to post 48 we will find a reference to post 43
    which contains a timestamp unlike the post 30 reference.
    a paste of a post number to a navigation box will open the new page in the current tab.
    click the browser back button to return.
    a timestamp is more accurate to search for than a post number because
    posts can be deleted changing post numbers. on the other hand there may
    be more than one post with the same timestamp.
    if we select any rightmost subset of the time stamp
    excluding the utc and the month but containing the : character,
    we can paste this into the navigation box, either one.
    this will take us to post 43.
    excluding the utc and the month but containing the : character.
    we can paste this into a navigation box, either upper or lower.
    if there are multiple posts with the same timestamp, the
    the lowest post number in the group will be the one displayed.
    again the browser back button will take us back to post 48.
    the browser back button will take us back to where we came from.
    you can use either method interlaced to follow a chain of replies.
    the back button can the be used to go backwards toward the last post
    in the chain.
    the second use of the navigation box is to type in a post number or
    a subset of a timestamp as specified before and press enter.
    type 20. this will open a new tab positioned at the requested post.
    this will open a new tab positioned at the requested post.

    you can type in the letter f or l and press Enter which will scroll to the
    first or last post respectively. you are still on the current page.
    to return to the post you came from just press enter on either of the two
    navigation boxes for the first/last post with an empty navigation box.

    * NAV BOX SPECIAL KEYS:
    the following immediate commands can be typed into any navigation box.
    control-[ will load the paste buffer with the text of the current post.
    control-] will load the paste buffer with HTML for the current post.
    control-/ will popup a control key menu for the nav box.
    control-y will switch to the post comment box (use control-y to return).

    * "Post a comment" SPECIAL KEYS:
    when posting a comment there are some keyboard shortcuts.
    control-[ will insert the text <BLOCKQUOTE> at the text area current position.
    control-] will insert the text </BLOCKQUOTE> at the text area current position.
    control-\ will insert <BLOCKQUOTE><NL><NL></BLOCKQUOTE><NL> at curr pos.
    control-r will replace the text area with the saved text from last lost focus.
    control-/ will popup a control key menu for the post comment box.
    control-y will switch to the last selected navigation box (use control-y to return).

    * DISABLED SAME PAGE NAVIGATION:
    the third use of the navigation box if it is enabled (which by default it is not)
    is if the destinatioin post in within the same page.
    @@ -352,7 +359,8 @@ overwrite any saved text. if you are constructing
    a reply and you screw it up you can use this to go back to the last version
    of your work. just empty the text area (now losing focus will not overwrite any
    saved text). select a navigation box and type the r and enter command to get a
    copy of the text saved put in the text area.
    copy of the text saved put in the text area. or you can press control-r in
    the text area which will replace the text area with the saved text.

    typing p and enter into a navigation box is exactly the same as a mouse click
    on the previous-page link.
  29. frkorz revised this gist Jun 20, 2024. 1 changed file with 3 additions and 0 deletions.
    3 changes: 3 additions & 0 deletions moaichg.txt
    Original file line number Diff line number Diff line change
    @@ -130,6 +130,9 @@ and you press Tab there are two possible results.
    have to click on the navigation box to restore the input focus. so dont press Tab more
    then once on a post where the navigation boxes have a red background. wait till the
    refresh has finished.
    FIX: since this situation is detectable a popup is displayed informing you of the lost
    focus. surprisingly when you dismiss the popup by either clicking on OK or pressing
    Enter, the focus then gets restored to the navigation box. Wow the logic of computers.
    note that the navigation boxes for the last post on a page always have a red
    background color. this way you always know when you are on the last post.
    if you tab off the last post and the navigation box is still red then you know
  30. frkorz revised this gist May 22, 2024. 1 changed file with 8 additions and 1 deletion.
    9 changes: 8 additions & 1 deletion moaichg.txt
    Original file line number Diff line number Diff line change
    @@ -122,7 +122,14 @@ and you press Tab there are two possible results.
    1) if there is a 'next page' link then it is clicked moving to the upper navigation
    box of the first post on the next page.
    2) the current page is refreshed getting any new posts but focus remains on the
    same navigation box. press Tab again to move to the first new post.
    same navigation box (see BUG below). press Tab again to move to the first new post.
    BUG: if you press Tab key twice and the second Tab key is after the browser has disabled
    the current page and before javascript gets control on loading after refresh, then the
    browser will tab outside of the document to the address bar of the browser. the javascript
    code can not get focus back to the navigation box. the browser wont let it. so you will
    have to click on the navigation box to restore the input focus. so dont press Tab more
    then once on a post where the navigation boxes have a red background. wait till the
    refresh has finished.
    note that the navigation boxes for the last post on a page always have a red
    background color. this way you always know when you are on the last post.
    if you tab off the last post and the navigation box is still red then you know