Very useful! But the comment on the same page thing is annoying, I hope you fix it soon :D
I love this. I hope you fix it soon. They should add it officially to the forum. ;)
[21:08.29] <+jacksonmj> /Discussions/Thread/Post.json?Post=
Or, in other words, @jacksonmj is awesome and the script is fixed for good.
For those of you who decided to trust me and didn't edit the script before installing, the fix should already be there. For the others with the script data directly inside the userscript, I'll update the script in a sec.
Awesome! This is really useful!
thank u mr. box
Could you make the bubble like the one you get when hovering over a date on a forum post?
@Fast-Driver (View Post)
I'd rather not, since the Bootstrap tooltips that are used with the date hover will only work with non-HTML, and replicating the smile would make the inline style far too long :o
If it helps, there's some CSS on the website which can be used to make quite a nice bubble like this:
See the ajaxTooltip($(element), url) function in https://powdertoy.co.uk/Themes/Next/Javascript/Main.js , or look near the start of https://userscripts.org/scripts/review/173466 , for examples of how to create one. Though you probably don't want the h3.popover-title when displaying a post, and you may need to adjust the width of .popover-inner.
Edit: also, for maximum effectiveness, override the LoadForumBlocks function (in https://powdertoy.co.uk/Applications/Application.Discussions/Javascript/Thread.js , called when the page number in a thread is changed and ajax is used to load the new posts) to call the original LoadForumBlocks function and then add the preview links. Otherwise, they don't appear after changing pages.