Skip to content

Commit 471826d

Browse files
Merge pull request #23 from HoangTran0410/dev
Release v1.68
2 parents 75ec11d + d372ca1 commit 471826d

File tree

109 files changed

+6818
-3045
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

109 files changed

+6818
-3045
lines changed

README-en.md

Lines changed: 15 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,16 @@
1+
[Tiếng Việt](./README.md) | [English](./README-en.md)
2+
13
![Logo](/assets/icon128.png)
24

35
# Useful scripts - Chrome extension
46

5-
[Tiếng Việt](./README.md)
7+
- [Useful scripts - Chrome extension](#useful-scripts---chrome-extension)
8+
- [Overview](#overview)
9+
- [Change logs](#change-logs)
10+
- [ScreenShots](#screenshots)
11+
- [Install](#install)
12+
- [For developer (Demo)](#for-developer-demo)
13+
- [Contribute](#contribute)
614

715
Donate? For better health and ideas <3 [Donate here](https://github.com/HoangTran0410/HoangTran0410/blob/main/DONATE.md)
816

@@ -12,19 +20,20 @@ An extension includes a lot of small extensions. Make your life easier.
1220

1321
- Please join [FACEBOOK GROUP](https://www.facebook.com/groups/1154059318582088) of this extension
1422

15-
- View list scripts [Here](./md/LIST_SCRIPTS_EN.md)
23+
- View list all scripts [HERE](./md/LIST_SCRIPTS_EN.md)
1624

1725
## Change logs
1826

1927
[Full change logs](/md/CHANGELOGS.md)
2028

2129
Current Versions:
2230

23-
- **v1.67 - huge update** (29/05/2024)
31+
- **v1.68**: big facebook update (01/07/2024)
2432

2533
<details>
2634
<summary>Old versions</summary>
2735

36+
- <del>v1.67 - huge update (29/05/2024)</del>
2837
- <del>v1.66 - big update (27/04/2024)</del>
2938
- <del>v1.65-hotfix (08/04/2024)</del>
3039
- <del>v1.64-hotfix (07/04/2024)</del>
@@ -40,11 +49,10 @@ Current Versions:
4049

4150
## ScreenShots
4251

43-
<div style="display:flex">
44-
45-
![screenshot](./assets/screenshots/Screen%20Shot%202024-05-29_light.png)
52+
<div style="display:flex;flex-direction:row;justify-content:flex-start;align-items:flex-start">
4653

47-
![screenshot](./assets/screenshots/Screen%20Shot%202024-05-29_dark.png)
54+
<img src="./assets/screenshots/Screen%20Shot%202024-05-29_light.png" style="max-width:300px;display:inline-block" />
55+
<img src="./assets/screenshots/Screen%20Shot%202024-05-29_dark.png" style="max-width:300px;display:inline-block"/>
4856

4957
</div>
5058

@@ -63,25 +71,3 @@ Current Versions:
6371
## Contribute
6472

6573
Contribute [tại đây (vietnamese)](/md/CONTRIBUTE.md)
66-
67-
## Learn
68-
69-
- Extension Tips
70-
71-
- [muaz-khan/Chrome-Extensions](https://github.com/muaz-khan/Chrome-Extensions)
72-
73-
- [scripting docs](https://developer.chrome.com/docs/extensions/reference/scripting/)
74-
75-
- [focus-mode example](https://github.com/GoogleChrome/chrome-extensions-samples/blob/main/tutorials/focus-mode/background.js)
76-
77-
- [execute popup script in webpage](https://stackoverflow.com/questions/9515704/access-variables-and-functions-defined-in-page-context-using-a-content-script)
78-
79-
- Bookmarks Tips
80-
81-
- [Bookmarklets hay](https://bookmarklet.vercel.app/)
82-
83-
- [Bookmarklets hay 2](https://www.thetechbasket.com/most-useful-bookmarklets/)
84-
85-
- [Blog hongkiat - 100 bookmarklets](https://www.hongkiat.com/blog/100-useful-bookmarklets-for-better-productivity-ultimate-list/)
86-
87-
- [50 useful bookmarklets](https://www.wordzz.com/50-most-useful-bookmarklets/)

README.md

Lines changed: 16 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,39 @@
1+
[Tiếng Việt](./README.md) | [English](./README-en.md)
2+
13
![Logo](/assets/icon128.png)
24

35
# Useful scripts - Chrome extension
46

5-
[English](./README-en.md)
7+
- [Useful scripts - Chrome extension](#useful-scripts---chrome-extension)
8+
- [Giới thiệu](#giới-thiệu)
9+
- [Phiên bản](#phiên-bản)
10+
- [Ảnh chụp màn hình](#ảnh-chụp-màn-hình)
11+
- [Cài đặt](#cài-đặt)
12+
- [Dành cho dev (Demo)](#dành-cho-dev-demo)
13+
- [Contribute](#contribute)
614

7-
Donate? Muốn hỗ trợ mình 1 ly cafe <3 [Donate here](https://github.com/HoangTran0410/HoangTran0410/blob/main/DONATE.md)
15+
Donate? Muốn hỗ trợ mình 1 ly cafe <3 [Donate tại đây](https://github.com/HoangTran0410/HoangTran0410/blob/main/DONATE.md)
816

917
## Giới thiệu
1018

1119
1 tiện ích chứa rất nhiều chức năng nhỏ. Giúp cuộc sống dễ dàng hơn.
1220

1321
- Hãy tham gia ngay [GROUP FACEBOOK](https://www.facebook.com/groups/1154059318582088) của tiện ích
1422

15-
- Xem danh sách chức năng [Tại đây](./md/LIST_SCRIPTS_VI.md)
23+
- Xem tất cả chức năng [TẠI ĐÂY](./md/LIST_SCRIPTS_VI.md)
1624

1725
## Phiên bản
1826

1927
Xem [Lịch sử cập nhật](/md/CHANGELOGS.md)
2028

2129
Phiên bản hiện tại:
2230

23-
- **v1.67 - bản cập nhật siêu lớn** (29/05/2024)
31+
- **v1.68**: bản cập nhật facebook lớn (01/07/2024)
2432

2533
<details>
2634
<summary>Xem phiên bản cũ hơn</summary>
2735

36+
- <del>v1.67 - bản cập nhật siêu lớn (29/05/2024)</del>
2837
- <del>v1.66 - bản cập nhật lớn (27/04/2024)</del>
2938
- <del>v1.65-hotfix (08/04/2024)</del>
3039
- <del>v1.64-hotfix (07/04/2024)</del>
@@ -40,11 +49,10 @@ Phiên bản hiện tại:
4049

4150
## Ảnh chụp màn hình
4251

43-
<div style="display:flex">
44-
45-
![screenshot](./assets/screenshots/Screen%20Shot%202024-05-29_light.png)
52+
<div style="display:flex;flex-direction:row;justify-content:flex-start;align-items:flex-start">
4653

47-
![screenshot](./assets/screenshots/Screen%20Shot%202024-05-29_dark.png)
54+
<img src="./assets/screenshots/Screen%20Shot%202024-05-29_light.png" style="max-width:300px;display:inline-block" />
55+
<img src="./assets/screenshots/Screen%20Shot%202024-05-29_dark.png" style="max-width:300px;display:inline-block"/>
4856

4957
</div>
5058

@@ -63,25 +71,3 @@ Phiên bản hiện tại:
6371
## Contribute
6472

6573
Contribute [tại đây (vietnamese)](/md/CONTRIBUTE.md)
66-
67-
## Kiến thức hay
68-
69-
- Extension Tips
70-
71-
- [muaz-khan/Chrome-Extensions](https://github.com/muaz-khan/Chrome-Extensions)
72-
73-
- [scripting docs](https://developer.chrome.com/docs/extensions/reference/scripting/)
74-
75-
- [focus-mode example](https://github.com/GoogleChrome/chrome-extensions-samples/blob/main/tutorials/focus-mode/background.js)
76-
77-
- [execute popup script in webpage](https://stackoverflow.com/questions/9515704/access-variables-and-functions-defined-in-page-context-using-a-content-script)
78-
79-
- Bookmarks Tips
80-
81-
- [Bookmarklets hay](https://bookmarklet.vercel.app/)
82-
83-
- [Bookmarklets hay 2](https://www.thetechbasket.com/most-useful-bookmarklets/)
84-
85-
- [Blog hongkiat - 100 bookmarklets](https://www.hongkiat.com/blog/100-useful-bookmarklets-for-better-productivity-ultimate-list/)
86-
87-
- [50 useful bookmarklets](https://www.wordzz.com/50-most-useful-bookmarklets/)

assets/icon128.png

2.34 KB
Loading

assets/icon32.png

237 Bytes
Loading

index.html

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,19 @@
88
</head>
99

1010
<body>
11-
<h1>ABC def</h1>
11+
<a href="https://google.com">google.com</a>
12+
13+
<iframe src="https://example.com" frameborder="0"></iframe>
14+
15+
<img src="https://picsum.photos/200/300" alt="">
16+
17+
<script>
18+
let a = document.querySelector('a');
19+
a.onclick = (e) => {
20+
e.preventDefault();
21+
window.open("https://example.com")
22+
}
23+
</script>
1224
</body>
1325

1426
</html>

manifest.json

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"name": "Useful Scripts",
55
"description": "Scripts that can make your life faster and better",
66
"homepage_url": "https://github.com/HoangTran0410/useful-script",
7-
"version": "1.67",
7+
"version": "1.68",
88
"icons": {
99
"16": "./assets/icon16.png",
1010
"32": "./assets/icon32.png",
@@ -42,9 +42,8 @@
4242
"declarativeNetRequestWithHostAccess"
4343
],
4444
"host_permissions": ["*://*/*", "<all_urls>"],
45-
"options_page": "./pages/options/options.html",
4645
"background": {
47-
"service_worker": "scripts/background-scripts/background_script.js",
46+
"service_worker": "./scripts/background-scripts/background_script.js",
4847
"type": "module"
4948
},
5049
"web_accessible_resources": [
@@ -58,8 +57,15 @@
5857
{
5958
"id": "ruleset_1",
6059
"enabled": true,
61-
"path": "scripts/net-request-rules/rules.json"
60+
"path": "./scripts/net-request-rules/rules.json"
6261
}
6362
]
63+
},
64+
"externally_connectable": {
65+
"matches": [
66+
"https://hoangtran0410.github.io/*",
67+
"https://useful-scripts-extension.github.io/*",
68+
"http://localhost:5173/*"
69+
]
6470
}
6571
}

md/CHANGELOGS.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,25 @@
11
## Change logs
22

3+
<details>
4+
<summary>v1.68 - 01/07/2024 - cập nhật facebook lớn</summary>
5+
6+
- Cập nhật + Tối ưu logic
7+
- Tool mới cho facebook
8+
- [Facebook all in one](https://github.com/Useful-Scripts-Extension/facebook-all-in-one)
9+
- Chặn 'đã xem' story facebook [source](/scripts/fb_blockSeenStory.js)
10+
- Dừng dòng thời gian facebook [source](/scripts/fb_stopNewFeed.js)
11+
- Hiện tổng lượt thích post fb [source](/scripts/fb_getPostReactionCount.js)
12+
- Thêm nhiều phím tắt fb: sự kiện, sinh nhật, video đã xem, khôi phục tài khoản
13+
- Chụp ảnh màn hình web (bypass các web chặn chụp như netflix) [source](/scripts/screenshotVisiblePage.js)
14+
- Fix font vietnam cho medium [source](/scripts/medium_fixVietnameseFont.js)
15+
- Xem trước ảnh khi hover chuột qua link [source](/scripts/showImageOnHoverLink.js)
16+
- Fix install on chrome linus
17+
- Tool cho github
18+
- Xem demo file html [source](/scripts/github_HTMLPreview.js)
19+
- Xem trang github pages [source](/scripts/github_openRepoPages.js)
20+
21+
</details>
22+
323
<details>
424
<summary>v1.67 - 29/05/2024</summary>
525

0 commit comments

Comments
 (0)