137Views13Replies

Author Options:

Comment Tree Userscript Answered

Discontinued, has been replaced with Instructables Enhancer

Hey, still remember back in the day when on 'ibles there were comment trees?
Did you also wish to get the nice old comment trees back?
Well, as of now it is possible!
I made a userscript that'll give you back the good old comment trees!
Please keep in mind that it is still in the beta phases and thus has bugs.
Anyways, here's the script: http://pastebin.com/au4rpH7T
To install it downlaod a userscript plugin (chrome: tampermonkey, firefox: greasemonkey) and copy-paste that code in that pastebin as a new userscript. Make sure that the userscript is active on https://www.instructables.com/*
Please report any bugs you find!


Known bugs

NONE!

13 Replies

user
Sorunome (author)2013-10-01

So, i've done so much today ^^
So yeah, I completley changed the architecture of how this thing is working - it doesn't replace the current with the old one, now it just fetches the indents of the old one and adds them to the new one!
Known bugs: NONE!!!!!!!!!
anyways, here's the userscript: http://pastebin.com/au4rpH7T

Select as Best AnswerUndo Best Answer

user
Sorunome (author)2013-10-01

Ok, fixed some more bugs.
There was INDEED a bug with messing up comment tree order, it should be fixed by now.
Also, I added a check for if there are comments before running the script to not mess up stuff like login or ibles editing or logging in.
On top of that I also made the comment trees on orangeboards now with dotted lines.

As always, please report bugs!

Oh yeah, here is the userscript: http://pastebin.com/AEKZtPtR

Select as Best AnswerUndo Best Answer

user
Sorunome (author)Sorunome2013-10-01

added awnsers support: http://pastebin.com/xZ7N5XHP

Select as Best AnswerUndo Best Answer

user
Shadowman39 (author)2013-09-29

Great job on making this userscript! It's cool to see the old-style comments. For all your hard work, here's a muffin! *hands Sorunome a muffin*

Select as Best AnswerUndo Best Answer

user
Sorunome (author)Shadowman392013-09-29

Yay, a muffin squee
And thank you, if you find any new bugs, don't hesitate to tell me ;)

Select as Best AnswerUndo Best Answer

user
Shadowman39 (author)Sorunome2013-09-29

:-) Well, there's still the bug with chains becoming out of order, which isn't in the list.

Select as Best AnswerUndo Best Answer

user
Sorunome (author)Shadowman392013-09-29

Chains out of order?
you mean now inside a chain?
Because outside the chains, the whole chains, that order is loaded off of the instructables server, that would be a ibles bug, not my script.

Select as Best AnswerUndo Best Answer

user
Shadowman39 (author)Sorunome2013-09-29

It only happens when the script is enabled, so I don't think it's an Ibles bug.

Select as Best AnswerUndo Best Answer

user
Sorunome (author)Shadowman392013-09-30

that is pretty wierd then, i'll look into it.

Select as Best AnswerUndo Best Answer

user
dr. richtofen (author)2013-09-29

It works good so far, only I had to refresh my OB before the trees showed up. But that could also be because my internet was a bit slow, and the page was still loading

Select as Best AnswerUndo Best Answer

user
Sorunome (author)dr. richtofen2013-09-29

yay, glad it works good for you!
And yeah, you have to wait till the page is done loading for the comments to change :)

Select as Best AnswerUndo Best Answer

user
Sorunome (author)2013-09-29

I fixed the bug that you can't make a new post, the new userscript can be found here: http://pastebin.com/7hbVpUQQ

Select as Best AnswerUndo Best Answer