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.
 
  • Locked thread
kode54
Nov 26, 2007

aka kuroshi
Fun Shoe

Javid posted:

Would it be possible for it to prevent image loading in already-read posts? Would make catching up in pic threads a lot easier.

I believe that would be impossible to pull off correctly in current versions of Chrome, due to how extensions are implemented. Extension scripts don't have any way of intercepting the page before it is rendered, so at least some of the images will probably still be fetched, even if the script does get a chance to hide them all quickly enough.

Adbot
ADBOT LOVES YOU

Javid
Oct 21, 2004

:jpmf:
Hiding them would work. Or just collapsing all the previously read posts - this is how the iphone app does it.

kri kri
Jul 18, 2007

Just enable image-to-links for read posts only. Is this what people were looking for?

Javid
Oct 21, 2004

:jpmf:
Oh hey, that does exactly what I wanted. :v:

LUBE UP YOUR BUTT
Jun 30, 2008

Anyone know what the default thread highlight colours are for the Firefox version of SALR? For some reason Firefox and Chrome SALR have different highlight colour values and I've always preferred FF's more matte look to Chrome's neon

calandryll
Apr 25, 2003

Ask me where I do my best drinking!



Pillbug

LUBE UP YOUR BUTT posted:

Anyone know what the default thread highlight colours are for the Firefox version of SALR? For some reason Firefox and Chrome SALR have different highlight colour values and I've always preferred FF's more matte look to Chrome's neon

I have noticed that it will vary from computer to computer for some reason. On one computer the colors are more muted, whereas a different computer that are bright neon. My biggest problem is on some computers I can't tell the difference between read and unread.

Ferg
May 6, 2007

Lipstick Apathy

LUBE UP YOUR BUTT posted:

Anyone know what the default thread highlight colours are for the Firefox version of SALR? For some reason Firefox and Chrome SALR have different highlight colour values and I've always preferred FF's more matte look to Chrome's neon

When I first built the extension I tried replicating the same colors and for whatever reason Chrome refused to display them. If you find them I'd be interested to know if they work for you. Try using Firebug to inspect the DOM with the Firefox extension running, that should show you the color hex.

LUBE UP YOUR BUTT
Jun 30, 2008

Ferg posted:

When I first built the extension I tried replicating the same colors and for whatever reason Chrome refused to display them. If you find them I'd be interested to know if they work for you. Try using Firebug to inspect the DOM with the Firefox extension running, that should show you the color hex.

It's worked fine for me ever since I started using Chrome with SALR.. Anyway I installed FF just to get the values

Ferg
May 6, 2007

Lipstick Apathy
It may have been Chrome way back when that was the problem. I originally wrote the extension before extensions were available even in the beta channel, so poo poo was breaking left and right. Either way, thanks for posting the values! I'm going to use them too.

AdolChristin
Jul 10, 2006
The Grand Poobah
Love this extension; one quick question.

I have the highlight mod posts checked but I left highlight mod names unchecked:



This works great in the threads but at the forum level it seems to highlight mod names anyhow:



Is this expected behavior? Unchecking highlight mod posts causes the names at the forum level to stop being highlighted.

Ferg
May 6, 2007

Lipstick Apathy

AdolChristin posted:

Love this extension; one quick question.

I have the highlight mod posts checked but I left highlight mod names unchecked:



This works great in the threads but at the forum level it seems to highlight mod names anyhow:



Is this expected behavior? Unchecking highlight mod posts causes the names at the forum level to stop being highlighted.

Ha, I have no idea to be honest. I only ever use the highlight names feature, so for me that hasn't been tested in god knows how long.

SCheeseman
Apr 23, 2003

Feature request: Tinting the post background pink (or whatever) if the poster has a negative postcount?

Vykk.Draygo
Jan 17, 2004

I say salesmen and women of the world unite!

SwissCM posted:

Feature request: Tinting the post background pink (or whatever) if the poster has a negative postcount?

Why?

SCheeseman
Apr 23, 2003

FYAD posters often leak out of their homeland and start trolling threads. It would be a good way to identify them quickly.

LUBE UP YOUR BUTT
Jun 30, 2008

Ferg, is it possible to integrate an option to disable SALR in certain forums? Thread highlighting makes the YOSPOS completely unreadable, so I'm forced to either disable SALR or adblock 219.css.

some kinda jackal
Feb 25, 2003

 
 
While we're at it, is there any way that you can find a way to make 219.css a user selectable option in the SALR preferences? I don't mind loading it, but being able to disable it after the page loads would be fine.

And yes, I realize that AdBlock should work, but for some reason it stopped :[

anthonypants
May 6, 2007

by Nyc_Tattoo
Dinosaur Gum

SwissCM posted:

FYAD posters often leak out of their homeland and start trolling threads. It would be a good way to identify them quickly.
So you don't mind if a thread gets trolled by someone with a positive post count? I don't think it's going to be possible to do this unless it polls each poster's profile page. Even if the results are cached, I don't think the SA admins are going to approve it.

However, just because someone has a negative postcount doesn't mean they'll troll threads. That's what the Report button is for. Then, when they get probated or banned, they'll have a new entry in the banlist, which you can pull up by the Rap Sheet link at the bottom of everyone's post -- even without SALR. The banlist is a way more reliable indicator of someone's intent than positive/negative postcount.

Ferg
May 6, 2007

Lipstick Apathy

LUBE UP YOUR BUTT posted:

Ferg, is it possible to integrate an option to disable SALR in certain forums? Thread highlighting makes the YOSPOS completely unreadable, so I'm forced to either disable SALR or adblock 219.css.

Martytoof posted:

While we're at it, is there any way that you can find a way to make 219.css a user selectable option in the SALR preferences? I don't mind loading it, but being able to disable it after the page loads would be fine.

And yes, I realize that AdBlock should work, but for some reason it stopped :[

Seems like a pretty simple solution. I'll take a crack at it.

some kinda jackal
Feb 25, 2003

 
 
Thanks! It's not a big deal if it's not possible or anything. I don't have anything against 219.css other than it makes my eyes hurt.

SCheeseman
Apr 23, 2003

anthonypants posted:

So you don't mind if a thread gets trolled by someone with a positive post count?

~50% of the time I have spotted a troll post the person has a negative post count. Still, if it's impossible to do it's impossible to do.

Vykk.Draygo
Jan 17, 2004

I say salesmen and women of the world unite!

SwissCM posted:

~50% of the time I have spotted a troll post the person has a negative post count. Still, if it's impossible to do it's impossible to do.

So half of the time it's a negative post count person and half the time it's a positive post count person? :ughh:

dont be mean to me
May 2, 2007

I'm interplanetary, bitch
Let's go to Mars


SwissCM posted:

~50% of the time I have spotted a troll post the person has a negative post count. Still, if it's impossible to do it's impossible to do.

So you assume that a very small proportion of the active forums population has negative post counts, AND that people can only post in one way ever.

Good to know. :pseudo:

SCheeseman
Apr 23, 2003

I'm sorry I'm racist against FYAD posters :shobon:

kri kri
Jul 18, 2007

Jumping to the last unread post is a bit buggy as of late. I noticed it after I started using the fancy forums extension here:

https://chrome.google.com/webstore/detail/ohlohgldhcaajjhadleledokhlpgamjm

But I don't think that involves anything like what I am seeing. Chrome stable here on Windows.

Zeph
Apr 9, 2007

This bagga nasty from Dogbert is
FRESH
I wanted the ability to turn off avatars while I browse at work, so I added that. Actually, I added the ability to turn off just the images in avatars, or the whole thing, so you can have text-only or nothing.

Anyway, I pushed it to Fergs github. I know this thread hasn't been too active, but I just wanted to put it here in case anyone else wants that feature.

kri kri
Jul 18, 2007

Zeph posted:

I wanted the ability to turn off avatars while I browse at work, so I added that. Actually, I added the ability to turn off just the images in avatars, or the whole thing, so you can have text-only or nothing.

Anyway, I pushed it to Fergs github. I know this thread hasn't been too active, but I just wanted to put it here in case anyone else wants that feature.

This is awesome, thanks for this. Now if we can get youtube HD embedding I will be happy!

anthonypants
May 6, 2007

by Nyc_Tattoo
Dinosaur Gum

kri kri posted:

This is awesome, thanks for this. Now if we can get youtube HD embedding I will be happy!
Hasn't that parameter been in the default [video] tags for a while now? Check the bbcode page.

Ferg
May 6, 2007

Lipstick Apathy

anthonypants posted:

Hasn't that parameter been in the default [video] tags for a while now? Check the bbcode page.

He's talking about embedded Youtube if you explicitly link to Youtube in a post.

I'm looking through the embedded API docs but all I can find is that adding ?hd=1 to the end of the embed URL is all you need. It's definitely not working though. Does anybody know how to get it to force HD res? I'll roll out Zeph's changes with this if I can find a solution.

anthonypants
May 6, 2007

by Nyc_Tattoo
Dinosaur Gum

Ferg posted:

He's talking about embedded Youtube if you explicitly link to Youtube in a post.

I'm looking through the embedded API docs but all I can find is that adding ?hd=1 to the end of the embed URL is all you need. It's definitely not working though. Does anybody know how to get it to force HD res? I'll roll out Zeph's changes with this if I can find a solution.
This plays in 720p for me:

[ video type="youtube" res="hd"]oz4AWjnlPvY[/video]

https://www.youtube.com/watch?v=oz4AWjnlPvY&hd=1

Ferg
May 6, 2007

Lipstick Apathy

anthonypants posted:

This plays in 720p for me:

[ video type="youtube" res="hd"]oz4AWjnlPvY[/video]

https://www.youtube.com/watch?v=oz4AWjnlPvY&hd=1

It plays in 720p just fine but it doesn't default to 720p, and that's the feature request.

Polsy
Mar 23, 2007

In my experience ?hd=1 does absolutely nothing and the resolution the embedded player starts up in is entirely dependent on how big you make the embed. ( see: http://polsy.org.uk/tmp/yt1.html vs http://polsy.org.uk/tmp/yt2.html )

edit: I was considering doing something with creating the embed oversized and then resizing it down to force 480 on non-HD videos for my youtube embed page but I didn't even get as far as figuring out exactly when it determines the starting resolution

Polsy fucked around with this message at 11:35 on Oct 21, 2011

lordfrikk
Mar 11, 2010

Oh, say it ain't fuckin' so,
you stupid fuck!
I'm pretty sure the ?hd=1 worked back when YT had only HD or not HD options, so quite a long ago.

abraham linksys
Sep 6, 2010

:darksouls:
e: nevermind; didn't read a few posts up. whoops

anthonypants
May 6, 2007

by Nyc_Tattoo
Dinosaur Gum
When I put res="hd" inside of the [video] tag, and I click on the youtube video to play it, it plays in 720p, just like the one I linked above. Maybe it's because I'm not using SALR?

Polsy
Mar 23, 2007

Huh, so it does. Yeah, apparently my mistake was using current youtube embed code which adds a 'version=3' parameter which seemingly makes it ignore the hd=1 part.

(actually I was using the <iframe> embed which means I can't even take that out, but you can if you're using <object> like the forums is)

Stare-Out
Mar 11, 2010

Anyone else have an issue when using live preview where nothing shows up and the preview box effectively locks up after using a smiley? It doesn't happen all the time but the text stops at the point where the smiley is (which isn't showing either) and the box won't update at all after that.

Too Poetic
Nov 28, 2008

Is there some setting I'm missing to get "Highlight thread counts in yellow if you've posted there before" to work? I have it checked but it doesnt do anything. I read the OP, but what setting am I supposed to change in my CP?

Too Poetic fucked around with this message at 05:03 on Oct 31, 2011

Ferg
May 6, 2007

Lipstick Apathy

Too Poetic posted:

Is there some setting I'm missing to get "Highlight thread counts in yellow if you've posted there before" to work? I have it checked but it doesnt do anything. I read the OP, but what setting am I supposed to change in my CP?

It's been semi broken for a while. It worked great while I was testing it and then when I pushed it live I noticed it was terribly unreliable. Turns out that the API I was using was nixed from the HTML5 spec so I'm assuming that's the culprit. I'll need to rewrite it to fix it at some point.

Frozen Peach
Aug 25, 2004

garbage man from a garbage can
Is there anything that can be done to fix bold and italics from being misaligned?

Adbot
ADBOT LOVES YOU

Ferg
May 6, 2007

Lipstick Apathy

Frozen-Solid posted:

Is there anything that can be done to fix bold and italics from being misaligned?

Where are you seeing that?

  • Locked thread