Jan 20, 2024 1:58 AM
[script] bookmarklet to add go-to-newest-post buttons on your forum posts history page
Anime Relations:
Shinseiki Evangelion
- the codes
The following bookmarklet adds "go to newest post" button as "»" after each topic title on your forum posts history page. If you have unread posts, you can go to the head of the unread queue by pressing the button.
javascript:var t,i,n,a;t=document.getElementsByClassName("forum_boardrow1");for(i=0;i<t.length;i+=2){a=t[i].getElementsByTagName("a")[1];n=document.createElement("a");n.href=a.href+"&goto=newpost";n.text="»";n.style.cssText="font-weight:bold;color:#000000;background-color:#C85050;";a.after(n);}void(0);
- "go to newest post" function
You can see "»" sign in front of a topic title on a topic list sometimes. This is the anchor/button to take you to the oldest unread post for you. (As the tooltip says when you place mouse cursor over the "»", somehow MAL call it "go to newest post" function.)
- your forum posts history page
By clicking "Forum Posts (count)" button on the left pane of your profile page, you can display "your forum posts history". It seems MAL hasn't added "go to newest post" function in the page. So, you have to search the last comment that you've read manually.
To make a bookmarklet:
- Make a URL shortcut (to any web site) on your desktop.
- Edit the property of the URL shortcut; Namely, paste the bookmarklet script to the URL text box.
- Display browser's favorites bar (by pressing Ctrl+Shift+B).
- Drop the URL shortcut (bookmarklet) to your browser's favorites bar.
To use the bookmarklet:
- Open your forum posts history page and just press the bookmarklet button in your browser's favorites bar.
Notes:
- No browser extensions or external programs required.
- Don't worry. By refreshing the page, you can shake off the effect.
- If MAL changes the description of the HTML, the bookmarklet becomes obsolete/useless.
Posted by
kuroneko99
| Jan 20, 2024 1:58 AM |
Add a comment