I’ve been asked to write a post to be used as an information hub for Monocle. I’ll give a quick explanation of what features Monocle has, some wishlist feature that Monocle should have sometime in the future, and how to install Monocle.
Basically, Monocle is a rough equivalent to Reasonable/fascr/greasonable on TSTSNBN. I wrote the initial code for myself as a learning experience, and greasonable hacked it up to get rid of all of my noob crap code and replaced it with quality, efficient code, some of which comes from his eponymous script. greasonable is pretty much the best, and he deserves many accolades for the work he has done so far.
Currently, the source code for Monocle is stored on gitlab.com, so anybody who wishes to help out can reach out to us and we’ll get you plugged in. Development of the code is on more of a “do what you want when you want” cycle, so we’ll never make any promises for a release date unless the feature’s availability is imminent.
Mobile Update! 2018/01/03 I have crafted a somewhat mobile friendly version of Monocle called Eyepiece. The only way I know to use it is to add tamper monkey to mobile Firefox and install Eyepiece by clicking the link.
How do I install Monocle?
Monocle only works on non-mobile versions of Firefox and Chrome; and now on mobile Firefox. Yes, it sucks that mobile is not supported. No, mobile support isn’t the highest priority right now. See update above! (SP edit)
Firefox install
- Install Greasemonkey for Firefox
- Click this link to install Monocle
- Click “Install” on the popup
Chrome install
- Install Tampermonkey for Chrome
- Click this link to install Monocle
- Click “Install” on the page that is loaded
Update to latest
- Click this link
- Click “Install” or “Reinstall” in the appropriate place
What Features are Currently Included?
Full width article/comments – if the author of a piece forgets to turn off the sidebar, Monocle removes that part of the webpage and expands the article and comments to full width of the screen.
Local timestamp – the timestamps for the comments are in Central Time on the server. Monocle adjusts them to your local time zone.
Condensed comments – The default view for comments has a large amount of space between consecutive comments. Monocle condenses them closer together.
Next unread comment – The Monocle toolbar shows a count of the unread comments on the page. Clicking that button cycles through the unread comments.
Show/Hide old threads – The Monocle toolbar includes a toggle for hiding all the comment threads that haven’t been commented on since your last refresh
HTML tag buttons – There are buttons above the comment box that allow you to insert HTML tags for formatting your comment. If you highlight any text on the screen and then click a tag button, the text will be placed within the tag inside the comment.
Current Known Bugs
-The comments at the furthest right (without a reply button) are too close to one another
-Hide old threads hides siblings of new threads
-If you click a formatting button without previously typing something in the thread, the word COMMENT stays in the comment box
As of version 1.15, there are no known bugs
Wishlist
-WYSIWYG commenting (you get to see, in real time, what your comment will look like as you type it)
-Spellcheck
-User Mute/Block
-Theme/Word/Topic Mute/Block
-Dynamic loading of new comments (so you don’t have to refresh the page to see new comments)
-Alternate comment views (newest first, most popular first, etc.)
-Options toolbar for toggling all of Monocle’s options
-Automatic split of multiple links in order to avoid having to go through moderation (this feature will be subject to admin’s approval)
-Allow images and Youtube vids to be displayed on the page (either automatically, or subject to clicking a “show” button)
-“Replies to you” information/button to allow you to see the new comments that are in reply to yours
-Mobile support
How do I get help with my specific Monocle questions?
Post a comment in this article. It’ll bug me and I’ll come check it out.
How do I suggest a new feature, report a bug, or otherwise make general comments/questions about Monocle?
Post a comment in this article. I’ll read it and reply to you.
How do I know whether a feature would be good for Monocle or for glibertarians.com as a whole?
If it’s something you’d prefer, but you think that other people might prefer it a different way, that’s the perfect feature for Monocle. If it’s something that involves changing data on the server (like an edit button, two links in one comment, etc.), Monocle can’t do it. Generally, I’m not going to do anything that requires leaving “artifacts” in comments that Monocle then interprets and renders something different. That’s just mean to people who don’t use Monocle and can’t tell why the hell there’s some comment with computer code in it.
How do I lodge a complaint about Monocle?
Send all complaints to tour-scheduling@WartysDungeon.com
You are awesome, if stinky.
Thank you.
I have just installed it on Chrome, used it a bit, and I now formally declare it to be good. I volunteer to transport anyone who complains directly to Warty’s basement.
Patiently awaiting the “beat hungry orphan slaves” option. The “oppress minorities with capitalism” option can be back-burnered until I get the former.
Great stuff. Installed it and like what I see.
Hammer time!
Just to be clear, I was testing the html linking button, not making any editorial comments on anyone.
I was hoping this was an article about scrunching up one side of your face to keep the monocle in place.
Meh. A properly sized monocle has “galleries” that fit into the browridge and cheekbone. If you are scrunching, yer doin’ it wrong.
Look at Mr. Monocle wearing smarty-pants here!
That’s MegaloMonocle to you, pal.
Hello, gents. Just dropped by to see your new digs.
Stick around, T H. It would be good to have you here.
How do we know it’s the real TH? *looks around for catass pics*
*left hooks Hype*
Believe me now? 😉
I’m sure my unique brand of dumbfuckery and inability to structure a proper sentence is proof enough.
Hi, Swissy. How’s the kidney doing?
It is working overtime, between the weightlifting and beer drinking.
Good name there, if anyone wants to handle hop.
I was hoping this was an article about scrunching up one side of your face to keep the monocle in place.
Once I have my inevitable stroke due to extreme fatness and inactivity, that monocle ain’t goin’ nowhar.
Just installed – looking good!
OkaySeems to work
Users are losers, and losers are users… so don’t use drugs.. don’t use drugs.
Now all I need is “Preview” … 😀
Don’t lose your drugs?
how do i post dick pics
Here’s one
testing
Send them to my phone
love ya buddy.
Oh heck ya, I can reply now!
Couldn’t over the weekend. I was about to take a look at the code to see if I could do much.
Hows that picture for a logo?
Suggestions/Questions
1 – re: the “a” (‘posting html links’) feature;
it spits out an html code which includes boxes for “display text” and “hover text”
would it be possible to just strip that down to nothing except URL?
basically, it generates a messy sting that is harder to proof just by quickly looking at it, and (at least in my case) results in posting broken links more often than not.
at the moment, even with the feature, i end up deleting the string down to [a href=”link”]text[/a] just for the sake of simplicity
2 – the “Cite” feature
DOES IT DO ANYTHING? i keep trying it and it aint do nuthin i can see.
3 – Blockquote
Can we “un-bold” it?
that is all.
1) We’re hoping that this will not be the final form of the comment box. Greasonable and I have been experimenting with something that will hopefully render this point moot.
2) IDK, I’ve actually never played with it. That was something greasonable implemented. (Let’s see if something happens when I use it)
3) Sure! I’ll add it to the list. Shouldn’t be too hard to implement.
Cite doesn’t do anything… I’ll remove it tonight.
Test
trshmnstr good. love trshmnstr.
Goddammit. Don’t scare him away.
We can just have Warty or STEVE SMITH chase him down and drag him back.
So code academy has my brain hurting, got me to youtube.
What’re your guilty pleasures on there? I always like the thug life videos, but skateboarding falls happen often.
The Smoking Tire (aka “Matt Farah drives other people’s cars”)
The guys who made Cyanide + Happiness (ExplosmEntertainment)
Tested / Adam Savage Makes Stuff
Rhythm Roulette (DJ’s are blindfolded, take any 3 records at random, and make a beat out of it)
etc.
Technically, none of those things are ‘guilty’
“guilty” would have to be compilations of Thuglife Vines, or the gazillions of “Anti-SJW”-mockery videos which Derp links to
Rythem Roulette is a lot of fun. I was in a hole of samples used to make Since I Left You by the Avalanches.
Smoking tire is also I lot of fun.
I’ll have to check out ExplosmEntertainment, I really like Cyanide and Happiness.
Oh, this is definitely guilty
i don’t actually watch her videos. But i subbed. Because “teen girl gets high. a lot.” is a genre that could really go places… eventually.
Music.
Cool cars on the Nürburgring. Like this one.
lots of acceleration.
I’m starting to love that car.
I’ve been driving my new-to-me Trailblazer ss with a 500 horsepower 402 stroker motor. It’s fun, as long as nothing breaks, then it’s a money pit.
Should “Yes, it sucks that mobile is supported.” be NOT supported?
I can edit if you would like.
YES, SOME OF US HAVE EDIT BUTTONS! WHAT’S IT TO YA?!?!?!
*adopts pugnacious stance*
P.S. That is FANTASTIC caption-text.
I don’t even mind the non editing. I don’t judge people for stupid errors. We are all typing, trying to godwin before someone else does. makes it sloppy.
Top Man editing to make links work would make sense.
I am a poopyhead and my mommy doesn’t love me.
I need an edit button – I average 2 errors per comment exceeding one sentence.
Yes please! I noticed that earlier, but it was already published.
Will do!
Monocle is great. Lately the prompt and text do not show since the 2/24 update. Has it been updated?
Mine did that, and now is 100%
It should be working as of the current incarnation. I made the mistake of committing some code without running it through its paces, and it screwed a few things up for people who downloaded on the 24th.
Ah, so. Thank you…I’m on my phone now so will check it out later. I wish monocle worked for android.
Works great now. Thanks!
-“Replies to you” information/button to allow you to see the new comments that are in reply to yours
This, so much this. I can’t express the agony of scrolling past all the mindless drivel you people post just to see if anyone liked my “you know who else…” answer.
Hitler?
Whitesnake?
The Ghost of Steve Irwin?
You’ll have to repost this if/when it works for mobile
I’m going to put this post in a permanently accessible location on the sidebar, so new users can be pointed there and Trashy can update it as needed.
beautiful!
*Tebows towards SP*
Thanks for the post, Trshmnstr! You rock.
This post now lives on the sidebar on the front page. Thanks, again, TrshMnstr!
Monocle is awesome and everyone should use it.
I started messing with it to tweak some things – but I didn’t want to screw anything up (plus, any changes would be overwritten by Monocle updates), so I ended up creating a separate tweak script that I run with Monocle.
1) Unbolds blockquotes (correctly displays em and strong within blockquotes)
2) opens all external links in new tabs
2) makes youtube links red (just until Monocle gets inline youtubes)
If anyone is interested.
@trshmnstr: if any of it’s useful, feel free to grab and use it.
I’ll get you hooked up with our gitlab repo link when I get a chance. Then you can just create a branch and merge stuff in when it works. I’m currently working on an options menu, so once done it should be fairly easy to give users the ability to turn on/off new functionality.
Cool. I normally use github (the app makes it much easier for me for local dev).
I created a gitlab acct just because I saw you were using it… lol.
For any of you glibby guinea pigs…
I’ve added a comment preview omgwtfbbq!eleventyone!! to my script.
Here’s what it looks like.
Click to install/update.
Works great! Big thanks to trshmnstr and greasonable!
This is impressive and cool, but would it be improper of me to ask for some of that to be implemented directly in the site code? E.g. the vertical space between comments is (IIRC) 48px, which is indeed huge. A relatively simple CSS override would fix that for everyone. Personally, I would also reduce the space between paragraphs, the line-height by just a tad (2px?), and the height of the Reply buttons. I think all those would make the comments more compact, and easier to read because they would require less scrolling.
Installed easily enough. So far looks great. Domo Danke, trshmnstr
Thanks Trashy and greasonable.
I assume that this is incompatible with the No-Script plugin which was necessary to use TWTSNBN.
It may be compatible. Since greasemonkey/tampermonkey runs in a different sandbox than the server-provided scripts, no-script may not block Monocle.
I can lend a hand if desired.
Do you have a target platforms list or minimum supported JS version you’re looking for? Widest possible range for a wish list of course, I’m just looking for current expectations.
Can you get more detail from Alexa or Google analytics for browser/platform distribution?
I started reviewing the code in my usual pedantic perfectionist way, but if the app currently works as expected it doesn’t need my bug injections. I’ve been doing a lot of ES5/6 stuff lately, so that poisoned my perspective.
I saw there are a few android-forked versions of tampermonkey, but haven’t tried them.
We welcome any help! Just get set up on gitlab, and I’ll get you into the project.
The biggest thing that is going to suck on mobile is fixing all the hardcoded geometry. I’d rather spend effort making Monocle feature-rich before diving into that morass.
I’m on GitLab, what’cha need?
Any chance of a dropdown menu listing the names of the most recent commenters (like greasonable for H&R)?
Test. Seems like I did it right. Oh, yeah.
Monocle Update – v. 1.18
Warning: This one has a few known bugs. Most of them are just because I’ve only partially implemented the floating comment box feature.
Watch out for these bugs:
– The floating comment box does not give you an indication as to which comment you’re replying to
-The floating comment box does not give you the ability to cancel a reply and just submit the comment to the bottom of the thread
– In reply by clicking the comment mode, you can’t select comment text
If these things are dealbreakers to you, the floating comment and reply by clicking comment features can be turned off in the options bar.
New features:
-Dynamic loading of new comments (every 45 seconds)
-floating comment box
-mark comments as read button
-top of comments button
-click comment to reply
I just now realized that I now have a Preview button. Woo-hoo! Thanks for all the work you are doing with Monocle trash. It is great!
Oh wait…is that due to Lafe’s TopHat?
Yeah… I added the comment preview to TopHat a yesterday. You can turn it off if it causes any trouble – I know trsh is working on comment stuff in Monocle.
Looks like SP unbolded the blockquotes in the site’s css (thanx SP!), so that’s obsolete in my script (I’ll take it out at some point).
-You can turn it off if it causes any trouble
So far so good. Thanks for adding it!
If you want, you should plug your features into monocle.
Monocle Beta Testing
If you’re interested in playing with the less-than-stable features of Monocle versions yet to be, you can update from this link.
Getting back to a stable version is as easy as following the instructions for updating contained in the article above.
Did we have a roll-back of some features? I lost my Top of Comments button as well at the Options button.
Disregard. Not sure what happened, but I re-installed Monocle and everything is back to normal.
One feature request: A button to go to the bottom of the page, or to the last comment.
The time correction in Monocle breaks during DST. There’s no ideal way to fix it, since you either have to hardcode the DST transition dates for Central Time or else depend upon the user having the same DST transition dates. I made a version using the latter technique on my fork. I can’t create a pull/merge request so if you want to use it, you’ll have to pull, merge/rebase, and push manually.
Clarification: if the developers of Monocle want to use my changes, then they need to do all that. If you just want to use my changes so the times are correct again, you can load them into Greasemonkey the same way with this link.
I merged your changes in. I also added you to the developers list for the monocle project so that you can work directly on the project. Thanks for the DST code! It has been on my radar since I wrote the initial stuff, and I never got back around to it.
Cool, thanks!
Feature request:
Can you strip out links from blockquotes? I keep getting burned by the Moderation Gods when I blockquote something with a link in it and add my own link.
Thankee-sai
Here is a link to v. 1.19, which is stable.
The link in the article goes to 2.00, which has some known bugs:
– If you click a formatting button without anything in the reply box, sometimes it causes an error
– The page location in the window sometimes moves around unexpectedly, especially for dynamic comment updates
Can we get the option to force url’s to open in a new tab?
Right click -> Open in New Tab.
Wait, sorry, thought this was the morning links.
Should have watched the comment pane closer.
Hopefully those of you who try to install monocle or eyepiece on mobile come down to the bottom of the comments to see one way to do it.
If you don’t have a mobile browser that supports userscripts (basically, any browser except Firefox), there is a workaround to give you eyepiece functionality (you could do monocle functionality, but it’s not optimized for mobile like eyepiece is). It’s kludgy, but it gets you eyepiece on your non-Firefox mobile browser. Here’s how:
1) Create a bookmark. Name it “Eyepiece” or “Monocle” or something.
2) In the URL of the bookmark, paste this:
javascript:(function(){document.body.appendChild(document.createElement(‘script’)).src=’https://gitlab.com/glibertarians/forumProject/raw/Eyepiece/monocle.user.js’;})();
3) Whenever you navigate to a glibs article, click the bookmark
Okay, I love this. Thank you!!!
never had trouble before
new laptop
installed firefox
installed greasemonkey
clicked install for Monocle (not sure anything happened)
clicked install for Monocle 2.01 update (not sure anything happened)
restarted computed
Glib left inset command icons did not populate, only original up/down and left/right carat show