johnpbloch / De-T-Co

No more t.co!
2 stars 3 forks source link

Possible as a Userscript (Greasemonkey)? #6

Open rugk opened 8 years ago

rugk commented 8 years ago

Is it possible to port this add-on into a userscript?

If so could you create one and e.g. publish it on https://openuserjs.org/?


I asked the same question to another dev, who developed a similar add-on: https://github.com/albancrommer/skiptco/issues/6

johnpbloch commented 8 years ago

Thanks for your suggestion!

Is it possible to port this add-on into a userscript?

It almost definitely is possible. The core of the application is in this script: https://github.com/johnpbloch/De-T-Co/blob/master/firefox/data/de-t.co.js and I imagine that wouldn't be too hard to repurpose into a userscript.

If so could you create one and e.g. publish it on https://openuserjs.org/?

I've never used greasemonky/userscripts, so please forgive my complete ignorance of the topic and what it provides. What would the advantage of greasemonkey be rather than the way it's currently distributed as a browser extension?

rugk commented 8 years ago

What would the advantage of greasemonkey be rather than the way it's currently distributed as a browser extension?

It is easier to install if a user already uses Greasmonkey. It works in different browsers (see this page and links on the right) and it does not introduce the overhead you might have when using an add-on for this. It might also be easier to maintain and it is just a much smaller, more lightweight thing than an add-on.