Skip to content

Commit f05fa89

Browse files
committed
small improvements in the js/url
1 parent bba067a commit f05fa89

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/content/blog/2025-03-02-pocket-universal-browser-extension.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,15 @@ Whenever you’re on a page you want to save, simply click the bookmark, and the
2727

2828
# How Does It Work?
2929

30-
This method leverages a simple JavaScript snippet embedded in the bookmarklet. Here’s what happens when you click it:
30+
You can execute JavaScript code directly from your browser’s address bar, and that’s exactly how this bookmarklet works. Here’s what happens when you click it:
3131
- The script retrieves the URL of the current tab.
3232
- It appends that URL to getpocket.com/save.
3333
- Pocket processes the request and saves the article to your account.
3434

3535
That’s it—no extensions, no complex setups, just a quick and effective way to keep your reading list organized.
3636

37+
The Javascript code in the link,
38+
3739
```javascript
3840
javascript:(function(){
3941
var url = encodeURIComponent(window.location.href);

0 commit comments

Comments
 (0)