Skip to content

Commit f3764de

Browse files
committed
Bookmarklet instructions
Closes #32
1 parent cbb40f9 commit f3764de

1 file changed

Lines changed: 33 additions & 1 deletion

File tree

README.md

Lines changed: 33 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,38 @@ python -m pip install -r requirements.txt
6262
FLASK_APP=app/portable.py flask run --host=127.0.0.1 --port=9982
6363
```
6464

65+
66+
## Using as a Bookmarklet in Chrome:
67+
68+
You can create a bookmarklet that performs the URL transformation by writing a small JavaScript snippet. Below is the JavaScript code for your bookmarklet:
69+
```javascript
70+
javascript:(function(){window.location.href='https://13ft.wasimaster.me/'+encodeURIComponent(window.location.href);})();
71+
```
72+
You can replace https://13ft.wasimaster.me with your own 13ft instance if desired.
73+
74+
Steps:
75+
1. Open Bookmarks Manager:
76+
77+
2. Click on the three dots (menu) in the top-right corner of Chrome.
78+
Go to Bookmarks > Bookmark manager, or simply press Ctrl+Shift+O on Windows/Linux or Cmd+Option+B on Mac.
79+
Create a New Bookmark:
80+
81+
3. In the Bookmark Manager, click the three-dot menu in the top-right corner of the window and select Add new bookmark.
82+
Enter Bookmark Details:
83+
- Name: Enter a name for your bookmarklet, such as "13ft-ize". This name will show as a bookmark title in the bookmarks bar
84+
- URL: Paste the JavaScript code provided above into the URL field.
85+
4. Click Save.
86+
87+
Using the Bookmarklet:
88+
89+
Navigate to the page whose URL you want to use 13ft on.
90+
91+
Click on the bookmarklet you saved in your bookmarks bar. The browser will redirect you to the 13ft version of the URL using your service.
92+
93+
To show Bookmarks in Chrome, click the icon with three horizontal bars in the top right corner to open options. 2. In options, hover over "Bookmarks" to display a second menu where you can click the "Show bookmarks bar" text to toggle the bar on or off.
94+
95+
Instructions courtesy of [@barakplasma](https://github.com/barakplasma)
96+
6597
## Systemd Service
6698

6799
```
@@ -151,4 +183,4 @@ Voilà you now have bypassed the paywall and ads
151183

152184
You can also append the url at the end of the link and it will also work. (e.g if your server is running at `http://127.0.0.1:5000` then you can go to `http://127.0.0.1:5000/https://example.com` and it will read out the contents of `https://example.com`)
153185

154-
This feature is possible thanks to [atcasanova](https://github.com/atcasanova)
186+
This feature was implemented by [@atcasanova](https://github.com/atcasanova)

0 commit comments

Comments
 (0)