syeopite / priviblur

A privacy-focused alternative frontend to Tumblr with a touch of modern design
GNU Affero General Public License v3.0
61 stars 7 forks source link

"View on Tumblr" links should go to blog's domain/subdomain if possible #32

Open the-blank-x opened 4 months ago

the-blank-x commented 4 months ago

There are three types of blogs:

I prefer browsing blogs with their custom theme over using Priviblur (which I prefer over using the crappy interface at www.tumblr.com), so when I land on a new blog while on Priviblur, I try to navigate to https://<blog>.tumblr.com to see if it has a custom theme. However, Priviblur's "View on Tumblr" links points to the subdomain/domain-less versions.

I've already made Priviblur use the domain or subdomain versions here, but I'm making this issue first to see if this would be accepted upstream.

syeopite commented 3 months ago

Sounds good to me though I'm against this being the default behavior. Feel free to make a PR once settings are added, which should hopefully be before the end of the month if nothing goes wrong.

the-blank-x commented 3 months ago

Sure, though I wonder if you could let instances pick their default settings (akin to Nitter)

syeopite commented 3 months ago

Yeah instances will definitely be able to configure the default settings.

syeopite commented 3 weeks ago

I do wonder if there are any security risks to users for Priviblur directly linking (which can be taken as endorsing) to a blog's subdomain considering that there have been a few cases in the past where blogs were using malicious scripts within their custom themes.

Those are usually caught pretty quickly by Tumblr but it is still a risk factor that exists for custom themes but not with Tumblr's dashboard layout.

the-blank-x commented 3 weeks ago

Possibly. I'm willing to take that risk though.