Register a SA Forums Account here!
JOINING THE SA FORUMS WILL REMOVE THIS BIG AD, THE ANNOYING UNDERLINED ADS, AND STUPID INTERSTITIAL ADS!!!

You can: log in, read the tech support FAQ, or request your lost password. This dumb message (and those ads) will appear on every screen until you register! Get rid of this crap by registering your own SA Forums Account and joining roughly 150,000 Goons, for the one-time price of $9.95! We charge money because it costs us money per month for bills, and since we don't believe in showing ads to our users, we try to make the money back through forum registrations.
 
  • Post
  • Reply
Master_Odin
Apr 15, 2010

My spear never misses its mark...

ladies


Something Awful Last Read (SALR) Redux
Old SALR Chrome thread

Requirements
Latest version of Chrome or Firefox

In order to use the highlighting features you must have the appropriate thread tracking options turned on in your User Control Panel on the forums. Since the forums now track threads for you, SALR only enhances the functionality rather than implement it.

Download Links
Chrome
SALR Redux: https://chrome.google.com/webstore/...pmoglademmhiboo

Firefox
SALR Redux: https://addons.mozilla.org/en-US/fi...don/salr-redux/

Development
And for those of you who want to contribute: https://github.com/MasterOdin/salr-redux

Patches are accepted, so if you're a web developer and want to help out, send over a pull request!

Follow the link above to install.

Once installed, basic highlighting features are enabled. To configure options, click on the SA logo in the location bar (omnibar). You will only see the SA logo when you are viewing the forums.

Page navigator is not enabled by default. To enable it, turn it on under "Page Display" in the options panel.

Have an idea you'd like to see in the extension?

Post it in this thread or in an issue on Github.

Features/Screenshots

THREAD HIGHLIGHTING!



HIGHLIGHT WHEN PEOPLE QUOTE YOU



PAGE NAVIGATOR



QUICK REPLY



Other features:
- Mouse gestures
- Keyboard shortcuts
- Various highlighting options
- User notes
- Convert Youtube links to inline
- A bunch of settings

Special thanks to Ferg as the original developer of SALR Chrome!

https://gfycat.com/ifr/AccomplishedAptHammerheadbird

Adbot
ADBOT LOVES YOU

Master_Odin
Apr 15, 2010

My spear never misses its mark...

ladies


Gorilla Salad posted:

I see there's highlighting for when people quote you - does this me the "Add Coloring/Note" function is still there for weirdos like me to use?
You can add notes that are colored, but you cannot color a user's post based off that note currently.

Master_Odin
Apr 15, 2010

My spear never misses its mark...

ladies


Samizdata posted:

Oh, no worries at all. Was just trying to contribute what little I could to help. Just so happy to have a proper tool back.

Say, I haven't noticed, but is there a way to set Show live preview as the default? The existing option doesn't seem to do anything.
It's the last option under the "Show Quick Reply" list of options under "Control Options" section. All of the checkboxes on the Quick Reply window can be toggled on/off by default.

Master_Odin
Apr 15, 2010

My spear never misses its mark...

ladies


astral posted:

Before I finish/push that out to the legacy Firefox SALR users, though, I want to look into how easy it'd be to add custom poster backgrounds & avatar hiding to Redux because then we could import all of those in one go. Once everything's available and the version with migration is in place, I'll recommend anyone still hanging onto ESR just for legacy SALR make the jump.
While it's probably not too hard to add backgrounds (add a new key 'background' that points to a color in the existing notes structure, then just add additional color picker on notes modal), I want to sit down and rewrite a large portion of how this stuff is handled (especially with regards to the other highlighting stuff). Namely, right now we basically iterate through table.post a bunch of times for all the different highlighting/notes options which is a bit inefficient when we realistically should just loop through all posts on the page once, checking if the post is by friend/OP/self, does the post contain a quote by self, do I have a user note for this person, etc. I also want to combine friendListID into the user notes structure so that the final structure would be:
code:
{
  <user_id>: {
    "is_friend": null|boolean,
    "note": null|string,
    "color": null|string,
    "background": null|string
  }
}

Master_Odin
Apr 15, 2010

My spear never misses its mark...

ladies


Welp, looks like Mozilla found issue with the extension and have disabled on versions for now. That's an unfortunate setback.

Master_Odin
Apr 15, 2010

My spear never misses its mark...

ladies


astral posted:

That's intentional. The upload doesn't block text entry and there's no guarantee how fast it'll complete, so it gets thrown at the end rather than in the middle of whatever you're typing at that moment.
Perhaps we make it so that if you upload an image and don't type, it'll place it at the cursor, else it'll do it at the end.

I'd like to make that the functionality for quoting posts with the quick reply window open.

Master_Odin
Apr 15, 2010

My spear never misses its mark...

ladies


Uncle at Nintendo posted:

I apologize if this was asked before, but there is a bug in Firefox and am wondering if there's a way I can fix it by messing with SALR for Firefox?

When I click on a link to a post, or click on a thread to bring me to the last unread post, I notice Firefox always brings me back way too far. It has something to do with the way Firefox is loading images or maybe twitter embeds or something. It can be very frustrating when someone links to a direct post (or I click a quoted post from a different page) and it brings me to the wrong post. I always have to scroll down to the correct one, and sometimes I am not even aware what the correct one is.

I tried SALR and it still does that, though. I know this is not SALR's fault but is there something I can change in SALR so "go to last unread post" or direct post links actually "dump" me to the correct post?

Sorry if this is a stupid question. As a sidenote, SALR is fantastic.
SALR attempts to fix that with the "Adjust window position after threads load" setting underneath "Thread Options", but it was always a janky solution and there's now way better methods for detecting when this happens that would be ideal to rewrite it to use.

But yeah, it's because of twitter embeds and the like which load after the fact on SALR.

Master_Odin
Apr 15, 2010

My spear never misses its mark...

ladies


tithin posted:

Just got this message when trying to post via SALR - since when has dear richard given a gently caress about the SALR extension enough to code a way to deny it?
Generally, this just means the CSRF token (which SA calls "form cookie") you were using had expired, which I'd guess is just if you have the reply open for long enough it might expire. You may just need to refresh your browser and try again.

Master_Odin
Apr 15, 2010

My spear never misses its mark...

ladies


withak posted:

edit: I feel that I am entitled to a full refund.
You'll get the vast SALR fortunes over my cold dead hands.

Will spend some time seeing if I can't fix this, not sure immediately what would be causing it as it's not something that's been affecting me so I did not know it was a thing.

Testing editing on google canary.

Master_Odin fucked around with this message at 17:28 on Nov 9, 2019

Master_Odin
Apr 15, 2010

My spear never misses its mark...

ladies


Testing quick reply from chrome canary...

editing the post now...

Master_Odin fucked around with this message at 17:58 on Nov 9, 2019

Master_Odin
Apr 15, 2010

My spear never misses its mark...

ladies


New version submitted for review for Chrome. Going to spend some proper time this week trying to automate releases to both Chrome and Firefox channels to make it easier to keep things in-sync with each other.

Adbot
ADBOT LOVES YOU

Master_Odin
Apr 15, 2010

My spear never misses its mark...

ladies


Kild posted:

Thanks, any eta for the chrome release?
It should be available. The chrome release should hopefully be coming out at a same/similar time as the Firefox release in general going forward.

  • 1
  • 2
  • 3
  • 4
  • 5
  • Post
  • Reply