[Return] [Catalog]

1 Anonymous 1969-12-31T17:00:00
Recently I made script that highlight quoted post and popup if it is outside of screen when you put your mouse over a quote, same way that vichan/4chan does, and I thought it would be nice to share with you guys.

How the code works:
First it search on the page for the post, if it's not found it will download the page on the quote link and cache it on a object, so it won't need to download again.
Second it will check if the post is visible on your screen, if it is it will only add a class (highlighted), other wise it will show as a popup up.

Here is the script's link: https://ghostbin.com/paste/d2ao9
To change highlighted color, just change it on line 13.

I'm not a real programmer, it's just a hobby for me, so it could have some bugs, and maybe I didn't use the best approach, well feel free to point out the bugs, my mistakes, change the code, etc.
»
2 Anonymous 1969-12-31T17:00:00
Thanks for making this. I just tried it out and it works really smoothly. Even crossboard links.
If it's something everyone wants I can incorporate it into the sites main javascript.

[Return] [Catalog]
Delete Post:
OptionsPassword
Name
Comment
File