Skip to content

Up version 1.4 #4

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 166 commits into from
Dec 25, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
166 commits
Select commit Hold shift + click to select a range
1b2cca4
fix find shared account
HoangTran0410 Nov 28, 2022
850bdbb
update
HoangTran0410 Nov 28, 2022
88ea571
.
HoangTran0410 Nov 29, 2022
5b7ed62
story saver
Nov 29, 2022
f95f57c
update
HoangTran0410 Nov 29, 2022
71cd17e
remove insta downloader
HoangTran0410 Nov 29, 2022
8daec74
update story saver + css
Nov 30, 2022
0a8450c
.
Nov 30, 2022
0c24037
studyphim + scribd
HoangTran0410 Dec 1, 2022
1c466f8
.
Dec 1, 2022
cd94515
fix story saver
HoangTran0410 Dec 1, 2022
5406d44
update unlock text selection with css
HoangTran0410 Dec 1, 2022
1122eff
new scripts
HoangTran0410 Dec 1, 2022
e7705e6
.
HoangTran0410 Dec 2, 2022
17205f8
snaptikvideo - download tiktok video
HoangTran0410 Dec 2, 2022
4b39844
.
HoangTran0410 Dec 2, 2022
08e38f8
.
HoangTran0410 Dec 2, 2022
86915e0
tiktok
HoangTran0410 Dec 2, 2022
47ab5c6
gg drive download
HoangTran0410 Dec 2, 2022
2921c3f
.
HoangTran0410 Dec 3, 2022
93c811e
shared + tiktok download
HoangTran0410 Dec 3, 2022
e59dc94
tiktok api unofficial
HoangTran0410 Dec 3, 2022
50be00b
.
Dec 6, 2022
6642f46
ggdrive download video
Dec 6, 2022
0babdd5
download video fb, best
HoangTran0410 Dec 6, 2022
8154653
update fb download watching video
HoangTran0410 Dec 6, 2022
eb1f05b
update name scripts
HoangTran0410 Dec 6, 2022
31f930a
.
HoangTran0410 Dec 6, 2022
ede0822
update (WIP) bypass-all-shortlink
Dec 7, 2022
f0102c5
insta ...
Dec 7, 2022
33b4da7
vue not good + search
Dec 7, 2022
49be458
search bar
Dec 7, 2022
8abbcd4
fix search
Dec 7, 2022
a09756d
remove dup
Dec 7, 2022
2a07406
.
Dec 7, 2022
3c99d5b
.
HoangTran0410 Dec 8, 2022
5a299f2
gg drive download all videos
Dec 8, 2022
accb806
func -> onClick
Dec 8, 2022
0aad1e7
fix
Dec 8, 2022
a96df14
update
Dec 8, 2022
644481a
Merge branch 'main' into dev
HoangTran0410 Dec 8, 2022
3b6fa80
Merge branch 'main' into dev
HoangTran0410 Dec 8, 2022
33a225c
vimeo
HoangTran0410 Dec 9, 2022
cb1d792
refactor
HoangTran0410 Dec 9, 2022
fffd64f
savevideo - wip
HoangTran0410 Dec 9, 2022
f41f8b3
update
HoangTran0410 Dec 9, 2022
e39f660
.
HoangTran0410 Dec 9, 2022
c01797d
update
HoangTran0410 Dec 9, 2022
5a611fd
update
HoangTran0410 Dec 9, 2022
2565161
soundcloud - wip
HoangTran0410 Dec 9, 2022
49977c7
update
HoangTran0410 Dec 10, 2022
547155b
fix view-source
HoangTran0410 Dec 10, 2022
e5db934
update
HoangTran0410 Dec 10, 2022
9c3f8ca
update
HoangTran0410 Dec 10, 2022
a46850c
update
HoangTran0410 Dec 11, 2022
75da9ef
document-start
HoangTran0410 Dec 11, 2022
9108f16
start-idle-end run smooth
HoangTran0410 Dec 11, 2022
02d816c
demo document start
HoangTran0410 Dec 11, 2022
cec36e8
fix
HoangTran0410 Dec 11, 2022
78ea201
fix
HoangTran0410 Dec 11, 2022
14eaaf9
update
Dec 12, 2022
745507d
update
Dec 12, 2022
c32687b
fix style
Dec 12, 2022
215e52b
refactor
Dec 12, 2022
8bc982a
.
Dec 12, 2022
9e26c7a
view source
HoangTran0410 Dec 13, 2022
67aa079
.
HoangTran0410 Dec 13, 2022
c84bad3
fix
Dec 13, 2022
c8c3fbb
fix
HoangTran0410 Dec 13, 2022
2299bb1
.
HoangTran0410 Dec 14, 2022
f2046c0
checkmark style
HoangTran0410 Dec 14, 2022
fa56a1a
onClick
Dec 14, 2022
e367a71
fix fb toggle light
Dec 14, 2022
900f4a9
.
Dec 14, 2022
6f81da8
urlpattern
Dec 14, 2022
5e2b8b9
.
HoangTran0410 Dec 14, 2022
3ce6a00
.
HoangTran0410 Dec 14, 2022
0f61b8e
fb_toggle
HoangTran0410 Dec 14, 2022
f18b085
refactor onClickExtension
HoangTran0410 Dec 14, 2022
7ecbb68
studyphim
HoangTran0410 Dec 14, 2022
488fcd4
shopee spent money
HoangTran0410 Dec 14, 2022
0bd66c2
update
HoangTran0410 Dec 14, 2022
f0ac8bf
.
HoangTran0410 Dec 14, 2022
3c4a7df
fix
HoangTran0410 Dec 14, 2022
71c6fe2
tiki - wip
HoangTran0410 Dec 14, 2022
8aac02d
.
Dec 15, 2022
f6eebd1
fix
HoangTran0410 Dec 15, 2022
cb0d8a5
insta download btn
HoangTran0410 Dec 15, 2022
e93146c
new
HoangTran0410 Dec 15, 2022
ac978de
.
HoangTran0410 Dec 16, 2022
9223b1f
wip
Dec 16, 2022
d4fb3cc
wip
Dec 16, 2022
54fe3c7
content script work now
Dec 16, 2022
5ab7aa5
fix run script check patterns
Dec 16, 2022
658d7c8
fix import + remove background page
Dec 16, 2022
96ba2d8
refactor
HoangTran0410 Dec 16, 2022
64ea3d3
fix
HoangTran0410 Dec 16, 2022
8676ab1
.
HoangTran0410 Dec 17, 2022
7b7d2a8
fix
HoangTran0410 Dec 17, 2022
9f560f4
xem tin nhan bi go - wip
HoangTran0410 Dec 17, 2022
b6c98fd
update
HoangTran0410 Dec 17, 2022
0df3a82
update
HoangTran0410 Dec 17, 2022
83a9b85
wip
HoangTran0410 Dec 17, 2022
f9d134c
fix document start - wip
HoangTran0410 Dec 17, 2022
e24ca2d
wip
HoangTran0410 Dec 17, 2022
6954d37
wip
HoangTran0410 Dec 17, 2022
391fa76
wip
HoangTran0410 Dec 18, 2022
05a7cc0
wip
HoangTran0410 Dec 18, 2022
1c443c5
fix
HoangTran0410 Dec 18, 2022
0adb12c
who is typing - wip
HoangTran0410 Dec 18, 2022
b701994
detect zero-width characters
HoangTran0410 Dec 18, 2022
5b03a19
access token iphone
HoangTran0410 Dec 18, 2022
f67f69f
refactor
Dec 19, 2022
1ebebcc
optimize popup load speed
Dec 19, 2022
0c7a651
fix style
Dec 19, 2022
7533342
style
Dec 19, 2022
8813407
icon size
Dec 19, 2022
e91a72f
fix onClickExtension
HoangTran0410 Dec 19, 2022
41f02b6
fb more reaction story
HoangTran0410 Dec 19, 2022
7cfb4c1
finish fb more reaction story
HoangTran0410 Dec 19, 2022
b522d1d
update
HoangTran0410 Dec 19, 2022
1a5dda8
fix more react story
HoangTran0410 Dec 19, 2022
3c9865d
fix
HoangTran0410 Dec 19, 2022
9d847cc
alway enable animation fb
HoangTran0410 Dec 20, 2022
2ec93d8
border fancy css
Dec 20, 2022
db2d074
fix inject css
Dec 20, 2022
bb57168
fix
Dec 20, 2022
993ba04
update detect zero width characters
Dec 20, 2022
7855440
more fb story react emoji
Dec 20, 2022
9222051
sort emoji
Dec 20, 2022
7a95169
remove unuse emoji
Dec 20, 2022
3efdd39
.
HoangTran0410 Dec 20, 2022
64ddd94
update
HoangTran0410 Dec 20, 2022
85a5dd3
output audio switcher
HoangTran0410 Dec 20, 2022
af251c1
infoLink
HoangTran0410 Dec 20, 2022
5cec838
.
HoangTran0410 Dec 21, 2022
01f1b17
fix story react
Dec 21, 2022
2d3f284
who is typing - wip
Dec 21, 2022
2b54723
fix go to first commit
Dec 21, 2022
5664aa2
udpate go to first commit - wip
Dec 21, 2022
00ca72e
update - go to any commit github
HoangTran0410 Dec 21, 2022
31c6e8f
update go to any commit github
HoangTran0410 Dec 22, 2022
3cca037
update script click count
Dec 22, 2022
74988c3
who is typing is working
HoangTran0410 Dec 22, 2022
37a2eda
remove console log
HoangTran0410 Dec 22, 2022
fc09609
fix query selector
Dec 23, 2022
388b367
flash title - wip
Dec 23, 2022
457cc0a
reveal deleted fb msg
Dec 23, 2022
5f5f583
reveal deleted fb msg + update who is typing
HoangTran0410 Dec 23, 2022
b52e057
fix sticker
HoangTran0410 Dec 24, 2022
4165313
update
HoangTran0410 Dec 24, 2022
5ed04bc
fix logic
HoangTran0410 Dec 24, 2022
ab65866
.
HoangTran0410 Dec 24, 2022
040a9f1
down document
HoangTran0410 Dec 24, 2022
8fc2c74
export saved fb + fix desc docDownloader
HoangTran0410 Dec 24, 2022
954fc85
story info - wip
HoangTran0410 Dec 24, 2022
496bf83
.
HoangTran0410 Dec 24, 2022
9cc091d
update
HoangTran0410 Dec 24, 2022
efe2a1d
update
HoangTran0410 Dec 24, 2022
0834fe9
fb mess count (done) + mess history (wip)
HoangTran0410 Dec 25, 2022
280efa1
fix fb msg count
HoangTran0410 Dec 25, 2022
20f61d6
fix style
HoangTran0410 Dec 25, 2022
9bcb6c6
wip
HoangTran0410 Dec 25, 2022
ab5b62e
up ver
HoangTran0410 Dec 25, 2022
8405fb7
update change log + readme
HoangTran0410 Dec 25, 2022
fdfe95e
update badge
HoangTran0410 Dec 25, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
61 changes: 61 additions & 0 deletions README-en.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
![Logo](/assets/icon128.png)

# Useful scripts - Chrome extension

[Tiếng Việt](./README.md)

Donate? Muốn hỗ trợ mình 1 ly cafe <3 [Donate here](https://github.com/HoangTran0410/HoangTran0410/blob/main/DONATE.md)

## Change logs

Verion: <del>v1.1</del> <del>v1.2</del> <del>v1.3</del> **v1.4** (25/12/2022)

[Change logs](/md/CHANGELOGS.md)

## Overview

an extension includes a lot of small extensions.

- View list scripts [Here](./md/LIST_SCRIPTS_EN.md)

## Install

- Local install - [Watch on youtube](https://www.youtube.com/watch?v=2wFTbDK80g0)

[![How to install](https://img.youtube.com/vi/2wFTbDK80g0/0.jpg)](https://www.youtube.com/watch?v=2wFTbDK80g0)

## Screenshots

![screenshot](./assets/screenshots/ScreensShot%202022-12-25%20at%2020.00.00.png)

## Tutorial (Demo)

[Watch on Youtube](https://www.youtube.com/watch?v=rVbr2dJvVMI&list=PLcZcXUjIE-TS13z4sf1mdzZoc9RHB2djl)

[![Video Tutorial (Demo)](./assets/screenshots/Screenshot_3.png)](https://www.youtube.com/watch?v=rVbr2dJvVMI&list=PLcZcXUjIE-TS13z4sf1mdzZoc9RHB2djl)

## Contribute

Contribute [tại đây (vietnamese)](/md/CONTRIBUTE.md)

## Learn

- Extension Tips

- [muaz-khan/Chrome-Extensions](https://github.com/muaz-khan/Chrome-Extensions)

- [scripting docs](https://developer.chrome.com/docs/extensions/reference/scripting/)

- [focus-mode example](https://github.com/GoogleChrome/chrome-extensions-samples/blob/main/tutorials/focus-mode/background.js)

- [execute popup script in webpage](https://stackoverflow.com/questions/9515704/access-variables-and-functions-defined-in-page-context-using-a-content-script)

- Bookmarks Tips

- [Bookmarklets hay](https://bookmarklet.vercel.app/)

- [Bookmarklets hay 2](https://www.thetechbasket.com/most-useful-bookmarklets/)

- [Blog hongkiat - 100 bookmarklets](https://www.hongkiat.com/blog/100-useful-bookmarklets-for-better-productivity-ultimate-list/)

- [50 useful bookmarklets](https://www.wordzz.com/50-most-useful-bookmarklets/)
25 changes: 12 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,44 +2,43 @@

# Useful scripts - Chrome extension

[English](./README-en.md)

Donate? Muốn hỗ trợ mình 1 ly cafe <3 [Donate here](https://github.com/HoangTran0410/HoangTran0410/blob/main/DONATE.md)

## Change logs - Lịch sử cập nhât
## Lịch sử cập nhật

Verion hiện tại: <del>v1.1</del> <del>v1.2</del> **v1.3** (27/11/2022)
Verion hiện tại: <del>v1.1</del> <del>v1.2</del> <del>v1.3</del> **v1.4** (25/12/2022)

[Change logs / Lịch sử cập nhật](/md/CHANGELOGS.md)
[Lịch sử cập nhật](/md/CHANGELOGS.md)

## Overview - Giới thiệu
## Giới thiệu

1 extension chứa 1 đống extensions nhỏ.

- Xem danh sách chức năng [Tại đây](./md/LIST_SCRIPTS_VI.md)
- View list scripts [Here](./md/LIST_SCRIPTS_EN.md)

## Install - Cài đặt

- Chrome Webstore - Coming soon...
## Cài đặt

- Local install - [Watch on youtube](https://www.youtube.com/watch?v=2wFTbDK80g0)
- Cài đặt thủ công - [Xem hướng dẫn (youtube)](https://www.youtube.com/watch?v=2wFTbDK80g0)

[![How to install](https://img.youtube.com/vi/2wFTbDK80g0/0.jpg)](https://www.youtube.com/watch?v=2wFTbDK80g0)

## Screenshots - Ảnh chụp màn hình
## Ảnh chụp màn hình

![screenshot](./assets/screenshots/Screen%20Shot%202022-11-27%20at%2022.05.00.png)
![screenshot](./assets/screenshots/ScreensShot%202022-12-25%20at%2020.00.00.png)

## Tutorial (Demo)

[Watch on Youtube](https://www.youtube.com/watch?v=rVbr2dJvVMI&list=PLcZcXUjIE-TS13z4sf1mdzZoc9RHB2djl)

[![Video Tutorial (Demo)](./assets/screenshots/Screenshot_3.png)](https://www.youtube.com/watch?v=rVbr2dJvVMI&list=PLcZcXUjIE-TS13z4sf1mdzZoc9RHB2djl)

## Contribute - Đóng góp
## Contribute

Contribute [tại đây (vietnamese)](/md/CONTRIBUTE.md)

## Learn - Kiến thức hay
## Kiến thức hay

- Extension Tips

Expand Down
Binary file modified _metadata/generated_indexed_rulesets/_ruleset1
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
27 changes: 19 additions & 8 deletions empty_script.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,26 @@ export default {
en: "",
vi: "",
},
infoLink: "",

// Chọn 1 trong 2 cách, xoá cách không dùng:

// Cách 1: Mở link web trong tab mới, không cần dùng func
link: "",

// Cách 2: Chạy script
blackList: [],
whiteList: [],
runInExtensionContext: false,
func: function () {},

// run (if enable autorun) in web page context
onDocumentStart: () => {},
onDocumentEnd: () => {},
onDocumentIdle: () => {},

// run onclick in extension-popup-page context
onClickExtension: () => {},

// run onclick in content-script context
onClickContentScript: () => {},

// run onclick in web page context
// cannot access to shared or any variable outside of webpage
onClick: () => {},
};

// functions/attributes that other scripts can import and use
export const shared = {};
42 changes: 12 additions & 30 deletions manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"manifest_version": 3,
"name": "Useful Scripts",
"description": "Scripts that can make your life faster and better",
"version": "1.3",
"version": "1.4",
"icons": {
"16": "./assets/icon16.png",
"32": "./assets/icon32.png",
Expand All @@ -19,52 +19,34 @@
"storage",
"cookies",
"debugger",
"bookmarks",
"declarativeNetRequest",
"declarativeNetRequestFeedback",
"declarativeNetRequestWithHostAccess"
],
"host_permissions": [
"<all_urls>"
],
"host_permissions": ["<all_urls>"],
"options_page": "./pages/options/options.html",
"content_scripts": [
{
"matches": [
"<all_urls>"
],
"js": [
"scripts/content-scripts/document_start.js"
],
"matches": ["<all_urls>"],
"js": ["scripts/content-scripts/document_start.js"],
"run_at": "document_start"
},
{
"matches": [
"<all_urls>"
],
"js": [
"scripts/content-scripts/document_idle.js"
],
"matches": ["<all_urls>"],
"js": ["scripts/content-scripts/document_idle.js"],
"run_at": "document_idle"
},
{
"matches": [
"<all_urls>"
],
"js": [
"scripts/content-scripts/document_end.js"
],
"matches": ["<all_urls>"],
"js": ["scripts/content-scripts/document_end.js"],
"run_at": "document_end"
}
],
"web_accessible_resources": [
{
"resources": [
"scripts/content-scripts/*.js",
"scripts/content-scripts/*.css"
],
"matches": [
"<all_urls>"
]
"resources": ["scripts/*"],
"matches": ["<all_urls>"]
}
],
"declarative_net_request": {
Expand All @@ -76,4 +58,4 @@
}
]
}
}
}
104 changes: 104 additions & 0 deletions md/CHANGELOGS.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,109 @@
## Change logs

<details>
<summary>v1.4 - 25/12/2022</summary>

- 57 script mới (Tổng 160 scripts):

1. anti_clickjacking
2. changeAudioOutput
3. detect_zeroWidthCharacters
4. dino_hack
5. docDownloader
6. donotBlockMe
7. douyin_downloadAllVideoUser
8. envato_bypassPreview
9. fastDoc
10. fb_antiPhishing
11. fb_downloadCommentVideo
12. fb_downloadWatchingVideo
13. fb_exportSaved
14. fb_invisible_message
15. fb_messengerCount
16. fb_messengerCount_main
17. fb_openAdsActivities
18. fb_openMemories
19. fb_openSaved
20. fb_removeFbclid
21. fb_revealDeletedMessages
22. fb_storySaver
23. fb_toggleNewFeed
24. fb_whoIsTyping
25. freesound_downloadAudio
26. ggDrive_downloadAllVideosInFolder
27. ggdrive_downloadVideo
28. ggdrive_generateDirectLink
29. github_goToAnyCommit
30. google_downloadAllYourData
31. google_mirror
32. insta_injectDownloadBtn
33. insta_storySaver
34. pdfstuffs
35. savevideo_me
36. scribd_bypassPreview
37. scribd_downloadDocuments
38. search_hopamchuan
39. search_musicTreding
40. search_userscript
41. send_shareFiles
42. shopee_topVariation
43. shopee_totalSpendMoney
44. showTheVideos
45. simpleAllowCopy
46. smartPDF
47. studocu_bypassPreview
48. studocu_dl
49. studocu_downs
50. studyphim_unlimited
51. tiki_totalSpendMoney
52. tiktok_downloadUserVideos
53. tiktok_downloadWatchingVideo
54. tiktok_snaptikApp
55. tiktok_snaptikVideo
56. vimeo_downloader
57. whatApp_storySaver


- Fix/Update các scripts:

1: douyin_downloadVideo
2. fb_getAllUidFromFriendsPage
3. fb_getAvatarFromUid
4. fb_getTimelineAlbumId
5. fb_getUid
6. fb_getUidFromUrl
7. fb_toggleLight
8. fb_videoDownloader
9. getAllEmailsInWeb
10. insta_getAllImagesInNewFeed
11. insta_getAllUserMedia
12. scrollToVeryEnd
13. tiktok_downloadVideo
14. zingmp3_oldLayout

- Xóa các scripts:

1: download_video
2. download_video2
3. enableTextSelection
4. fb_getAllVideoId
5. fb_getTokenLocmai
6. github_goToFirstCommit
7. insta_reloaded
8. paywallKiller
9. youtube_popupPlayer

- Fix/Update extension:

- Thêm logic cho các **script tự động chạy** (onDocumentStart, onDocumentEnd, onDocumentIdle)
- Thêm **ô tìm kiếm** script nhanh hơn
- Loại bỏ tab Hot, tab New, Open extension in popup, runInExtensionContext
- Thêm **tab Autorun, tab Tất cả**
- Thêm **infoLink** cho các script (mở trang demo hoặc giới thiệu script)
- Thêm **UsefulScriptGlobalPageContext** và **content-script** (dùng cho các chức năng tự động chạy)

</details>

<details>
<summary>v1.3 - 27/11/2022</summary>

Expand Down
Loading