ladder icon indicating copy to clipboard operation
ladder copied to clipboard

Feature: Browser extension

Open sammcj opened this issue 2 years ago • 9 comments

It would be great if there was a browser extension that could redirect sites to your locally running ladder instance!

sammcj avatar Nov 07 '23 06:11 sammcj

Actually there are very good Browser extensions already. Just to mention some :

  • https://github.com/iamadamdev/bypass-paywalls-chrome#bypass-paywalls
  • https://gitlab.com/magnolia1234/bypass-paywalls-chrome-clean
  • https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean/-/releases

mms-gianni avatar Nov 07 '23 08:11 mms-gianni

Actually there are very good Browser extensions already. Just to mention some :

  • https://github.com/iamadamdev/bypass-paywalls-chrome#bypass-paywalls
  • https://gitlab.com/magnolia1234/bypass-paywalls-chrome-clean
  • https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean/-/releases

These are local browser based paywall blockers, different than this self-hosted one, I would like to see an extension that prepends a URL of my choice so I can use the self-hosted ladder instance. Surely such a simple extension might already exist somewhere?

danjb avatar Nov 07 '23 16:11 danjb

Ok ... I see your point.

But this is even easier. Just create a new Bookmark. Let's name it "climb the ladder" and use this as the URL:

javascript:window.location.href="http://localhost:8080/"+location.href

mms-gianni avatar Nov 07 '23 20:11 mms-gianni

Very nice!! Works perfect. I was going to suggest the Replace URL extension, but this works much better. Thanks!

danjb avatar Nov 07 '23 20:11 danjb

Bypass paywalls clean and friends all use a cloud service though don't they?

Using a bookmarklett - while neat, is a manual process for each URL.

My suggestion is a browser addon that can be configured to use your local ladder instance and automatically redirect known paywalled domains. This could optionally also be used to update your ladders rules.

sammcj avatar Nov 07 '23 20:11 sammcj

You'd need only one Bookmarklet and click it when needed.

With an Addon still need to maintain the list of known domains in your Addon. Those mentioned Addons do a great job already.

My issue with these addons where: they are not working for mobile phones. And the sites could not be shared. This would still apply with a less complex addon you suggest. The only benefit i see, you need only one place to update the rules (on your ladder instance)

mms-gianni avatar Nov 07 '23 21:11 mms-gianni

I could also see an addon being a different way to interact with an otherwise headless ladder instance, maybe even add a place to upload domain lists similar to how Pi-Hole does it's gravity list. I personally think that bypass paywalls does a pretty great job of this already and I use it regularly, but I can see the allure of having an extension for your instance.

TheRouce avatar Nov 09 '23 22:11 TheRouce

I personally think that bypass paywalls does a pretty great job of this already and I use it regularly

I'm going to start experimenting with an extension for Firefox. It might be as simple as clicking a button to have the extension remember to redirect you to Ladder for a given site, much like how uBlock Origin has its "power button". Ladder would simply have to be running in the background, possibly like how #7 envisioned it.

...maybe even add a place to upload domain lists similar to how Pi-Hole does it's gravity list.

Once #50 gets merged, most sites can be bypassed using the new proxy, without needing a different ruleset for every site. For special rules, we have the ladder-rules repository.

dkbednarczyk avatar Dec 07 '23 17:12 dkbednarczyk

Ok ... I see your point.

But this is even easier. Just create a new Bookmark. Let's name it "climb the ladder" and use this as the URL:

javascript:window.location.href="http://localhost:8080/"+location.href

This is crazy awesome! Thank you very much! I love it!

EDIT: So convenient when you use browser-bookmark sync over various devices --> As long as im in my home network (or via VPN) i can unlock Paywalls on all of my devices

SHU-red avatar Dec 14 '23 12:12 SHU-red