macraw83 wrote:I may be really dumb, but I don't understand how to get this to work. If I click on the .js link, it tries to open up TamperMonkey, but then nothing happens. If I try to save it, nothing happens. If I try to view the source code at the github link, github can't find it. Can anyone help? It would be awesome to have this tool at my fingertips while browsing the forum.
The code has been moved to a proper repository, along with three other OTT-related scripts (one to remove spoilers for blitzers, another one to make quoting multiple messages more efficient2,3,5, and a last one to add an extra Hide button at the bottom of spoiler tags).
When clicking on the link, you should see a box saying "Do you want to install this userscript: in Tampermonkey (Ok) or natively in Chrome (Cancel)". Choose OK, then OK again and voilà. Refresh your OTT page and the script should do its job.
It's weird, I just tested the installation, by first removing the scripts then following the URLs again, and at first Tampermonkey hung on "please wait". I restarted Chrome and tried again and it worked fine.
Alternatively, you can try to click on the Tampermonkey button, then "Add script", then paste the code in there.
If the script shows up in the "Installed scripts" list1 but does nothing, maybe you're using another theme (newpix-convertor works with prosilver, the other aren't supported (yet)), or a custom date format. If you're not, please let me know. If you could send me the HTML code of one of the OTT pages I could be able to figure it out.
P.S : I send this both as a private message and on the OTT, so everyone can see it. Say "hello" to the Past for me! And insult it!
1 which you can see by going on the "add a script" page, then click on the "installed scripts" tab
2 It works by saving the quoted messages in the background, then dumping them in the text field when you're on the post page. So you have to hit the quote button for everything you want, then write all your replies. I plan on improving it a bit so you can reply just after clicking on "quote", and have your reply saved along with the quoted message4
3 I know, the footnote order is weird, but it's the order I wrote them
4 Wow, *that* was a pretty long footnote!
5 Too bad the BBCode parser gets confused with nested "sup"...