wywywywy / freedium-browser-extension

Browser extension to easily open Medium articles in Freedium to bypass paywall
MIT License
48 stars 8 forks source link

Feature Request: Automatically Open Medium in Freedium mode #4

Open GoulartNogueira opened 5 months ago

GoulartNogueira commented 5 months ago

The Firefox add-on works great!

But I'd love if it worked automatically: Every time I open a Medium page (or any page matching the config), I wish I was redirected to Freedium automatically, no clicks required.

In case some people don't want this feature (I don't know why), I suggest it could be an optional config. Or they could just disable the plugin briefly.

GoulartNogueira commented 5 months ago

In the meanwhile, I'm using Redirector It works flawlessly:

How it works:

Once you install and configure, it will automatically:

  1. Detect the url from Medium
  2. Add the Freedium url
  3. Redirect to Freedium

Configuration:

Simple config:
Include pattern: https://medium.com/*
Redirect to: https://freedium.cfd/https://medium.com/$1
Pattern type: ◉ Wildcard ○ Regular Expression

Conclusion:

With this approach, I don't even need the Freedium Browser extension anymore. But still, I'd rather have this redirection implemented inside the Freedium AddOn and I believe it would benefit all users.

GoulartNogueira commented 5 months ago

Advanced (to include other websites)

Pick Regular Expression and split each domains with | in the pattern

Include pattern: (https://(medium\|towardsdatascience).com/.*)
Redirect to: https://freedium.cfd/$1
Pattern type: ○ Wildcard ◉ Regular Expression
wywywywy commented 5 months ago

Thanks for the kind words.

It's a good idea but I feel that it's deviating from the core idea of this extension.

You might know already but in case you don't, there's a userscript that can do this feature well - https://gist.github.com/mathix420/e0604ab0e916622972372711d2829555

I'm not totally against the idea of implementing it into this extension but I want to make sure it actually brings more value than the existing solutions.

Also to be able to do redirects, we'll have to request the permission to change ALL websites (https:///), which is potentially a lot to ask for, for a simple extension like this. And it may turn users away. Any thoughts on this one?