Skip to content

Commit d74748e

Browse files
committed
remove cookie permission
1 parent 1e302c3 commit d74748e

File tree

6 files changed

+9
-11
lines changed

6 files changed

+9
-11
lines changed

README.md

+6-2
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,19 @@ At first, all the words on the web page are "unknown" by default. You can hover
1515

1616
After you mark as many words as possible for "known", the words highlighted are those you really don't know, you can find them at a glance.
1717

18-
<img style="max-width: 100%;" src="./screenshot-1.png" />
18+
<img style="max-width: 100%;" src="./screenshots/screenshot-1.png" />
19+
20+
It also works for youtube video subtitles.
21+
22+
<img style="max-width: 100%;" src="./screenshots/screenshot-youtube.png" />
1923

2024
## How to Skip basic words
2125

2226
You can change which levels of words to be highlighted in settings.
2327

2428
let's say you want to skip the level below CET-6.
2529

26-
<img style="max-width: 50%;" src="./screenshot-level.png" />
30+
<img style="max-width: 300" src="./screenshots/screenshot-level.png" />
2731

2832
## How to mark faster
2933

manifest.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "Word Hunter",
3-
"description": "Discover new words you don't know",
4-
"version": "1.0.17",
3+
"description": "Discover new words you don't know on any web page",
4+
"version": "1.0.18",
55
"manifest_version": 3,
66
"key": "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA37Tu6LgsThnqIusXCvgDP+kzjHmJgwehDp01nEvTCH3N19Qpe3+q6o20yjMfyT1681f3mzugV4scpjSsYH7ixO8wZHDNBwJlPPLV8jjpwRd/rBiXLYw7sSSHsX1dN7mQuKdua7WrsN+CUc7s8acq0F9lAXGtsk/BA3tNSidB5kVmog1iLf3m6wbbYK9wKmlgIjw8OkAxOs4YnZ/Z5Dfj4lPZ0aYxUmQkXSZgc3Jj0IUiQBfY3+RsJw0u7M2njPlU6AQ8pPET3BHY86ee0xSksINMrVYYMjAmHv+05RzIF+rANlHGqHYoPaD3z/rxkeki4uXXkVEi4Yv+AhdKxGUwYwIDAQAB",
77
"icons": {
@@ -33,5 +33,5 @@
3333
}
3434
],
3535
"host_permissions": ["*://*.youglish.com/"],
36-
"permissions": ["storage", "activeTab", "scripting", "tabs", "cookies"]
36+
"permissions": ["storage", "activeTab", "scripting", "tabs"]
3737
}

public/youglish-prepare.js

-6
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,3 @@
11
const word = new URL(location.href).searchParams.get('word')
22
document.querySelector('a').dataset.query = word
33
document.title = 'YouGlish: ' + word
4-
5-
// remove cookie to skip daily exceed limit
6-
chrome.cookies.remove({
7-
name: 'bakashot',
8-
url: 'https://youglish.com'
9-
})
File renamed without changes.
File renamed without changes.

screenshots/screenshot-youtube.png

362 KB
Loading

0 commit comments

Comments
 (0)