Skip to content

sthgrau/greasonable

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Support channel occasionally populated: http://webchat.freenode.net/?channels=greasonable

Based on http://bakkot.github.io/SlateStarComments/ssc.js .. Thanks Bakkot!

Originally developed in chrome with tampermonkey.. Also tested with pale moon with greasemonkey..

Features:

  • Added a keyboard to add strange characters.. Off by default. Enable by checking box in the "Misc" tab in "Filters"
  • Added gravatar display. Off by default. Enable by checking box in the "Misc" tab in "Filters"
  • Ability to go back to the last 5 refresh times in case you accidentally refresh before finishing.
  • Thread hiding (or at least adapted for reason).
  • Some basic filtering (whole message for now) which auto hides threads that match, not just individual messages.. (this is the main thing I wanted). NOTE: basic filtering supports regex.
  • Simple editor for filters
  • Reformatting the date strings and added support for your local time.
  • Youtube inline.
  • Alt-text for story pictures..
  • Plus whatever the source script did: highlighting new comments, adding floating bar to jump to new comments.
  • Works in both Firefox and Chrome (at least).. if I can get user-scripts to work on others, I will test them too...
  • Added support for Asynchronous replies.. This means you can comment and it won't reload the page. I am putting up a basic comment just to give an idea of what the comment will look like, but for now is clearly inferior to the standard.
  • Added support for user-specified fonts. I got a list of well supported fonts, but I am open to adding more
  • Added experimental tag dialog..
  • Added support to quote based on mouse selection, just select the text of the comment you are replying to, then press the cite button
  • Added clear and reset buttons to async reply

Using the below method (vs method posted 2/28/2015 in comments) will allow greasemonkey to update for you


Firefox install:

Updating:

  • Click the monkey drop down near the search bar, near the top right. Click 'Manage User Scripts'
  • Right click 'Full Reason' and click 'Find Updates'

Chrome install:

Updating:

  • Click the tampermonkey icon near the address bar (black box with two white circles), click 'Dashboard' in the left column, near the bottom
  • In the 'Full Reason' line, click the cell in the 'Last Updated' column

Downgrade instructions:

Should there be a problem with a new version, you can go back to any version in the repository.

  • Go to: https://github.com/sthgrau/greasonable
  • Click on reason.user.js in the file listing window
  • Click the History button near the top right of the file contents frame
  • Find a version you are happy with (unfortunately, it appears to mix both dev and master branches, dev files should in the future have a name with 'dev' in it)
  • Click the button with hexadecimal text on the same line as the commit you want
  • Click the view button at the top right of the diff frame
  • Confirm the version and name are what you expect
  • Click on the raw button at the top right of the file contents frame

I'll try to come up with a better solution for this


How to use:

New comments are bounded by an orange box and are also listed in a floating box in the top right (click [+] to expand)

Comments can be jumped to from the floating box, most reliably by clicking on the date, clicking on hyperlinked names go to the original hyperlink dstination)

Replies to the current user will be highlighed by green instead, and the time marked green in the floating box.. This is a little problematic to start since the login box is not reliably available at the start. Therefore, I am setting it in localStorage, so the first time, it may not work..

The "<<" and ">>" go backwards and forwards in time with regard to times loaded with new comments. In case you need to restart, or the browser crashes, etc..

If you click the 'Hide thread' link at the bottom of a comment, it hides that comment plus any responses.

To change the filter list, click '[filters]' at the bottom right. Enter/remove each filter one per line and click '[submit]' . There is a tab-like interface. The first tab is for filtering users (as show in hover text). The second tab is for content filtering (also has hover text). The third tab is for miscellaneous stuff: You can turn on and off inline youtube display and the filtering.. When you hit submit, it will show/hide youtube and show/hide filtered comments immediately. You can also choose to override the fonts for both the stories and the comments. Enabling/disabling takes effect immediately. You can now cancel as well if you screw something up..

This option Box is also now available on the front page, where some of the new modifications also are put into place

About

greasemonkey script for reason.com/blog

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published