farside.link for Wikiless, change indexOf to Startswith

This commit is contained in:
Ahmet Arda Kavakci 2022-06-20 14:28:11 +03:00
parent 4deac0a613
commit baedc8da57
No known key found for this signature in database
GPG key ID: 80860C9FC6584220
3 changed files with 37 additions and 37 deletions

View file

@ -1,6 +1,6 @@
## To-do
- [ ] Use `pathname.startsWith` instead of `href.indexOf`
- [ ] Use [farside.link](https://github.com/benbusby/farside) for [Wikiless](https://github.com/dybdeskarphet/privacy-redirector/blob/967a316e46b5010cdf93de6048b5927c1da621f2/privacy-redirector.js#L251)too.
- [x] Use `pathname.startsWith` instead of `href.indexOf`
- [x] Use [farside.link](https://github.com/benbusby/farside) for [Wikiless](https://github.com/dybdeskarphet/privacy-redirector/blob/967a316e46b5010cdf93de6048b5927c1da621f2/privacy-redirector.js#L251)too.
- [ ] Fix: Medium stops redirecting to scribe.rip after entering a user page
### Not possible (?)

View file

@ -1,10 +1,18 @@
## Instagram
- **Profile:** `https://www.instagram.com/pewdiepie/`
- **Post:** `https://www.instagram.com/p/BsOGulcndj-/`
- **Reel:** `https://www.instagram.com/reel/CQhRxeyCG1_/`
- **Story:** `https://www.instagram.com/stories/yohjiyamamotoofficial/2836598302495844703/`
- **Profile:** https://www.instagram.com/pewdiepie/
- **Post:** https://www.instagram.com/p/BsOGulcndj-/
- **Reel:** https://www.instagram.com/reel/CQhRxeyCG1_/
- **Story:** https://www.instagram.com/stories/yohjiyamamotoofficial/2836598302495844703/
### with `/accounts/login`
- **Profile:** https://www.instagram.com/accounts/login/?next=/pewdiepie/
- **Post: ** https://www.instagram.com/accounts/login/?next=/p/BsOGulcndj-/
- **Reel: ** https://www.instagram.com/accounts/login/?next=/reel/CQhRxeyCG1_/
## Reddit
- **Subreddit: ** https://www.reddit.com/r/linux
- **User: ** https://www.reddit.com/user/kn0thing
- **Post: ** https://www.reddit.com/r/reddit.com/comments/87/the_downing_street_memo/
## Twitter
- **Tweet:** `https://twitter.com/meteatature/status/935576650603024384`
@ -16,4 +24,3 @@
## Medium
- **Story:** `https://ptorbatii.medium.com/the-straightforward-guide-for-installing-arch-linux-2020-part-1-installing-the-base-system-eabc27767fd9`
-