Skip to content

Commit be94f46

Browse files
committed
refactor
1 parent 8f3e044 commit be94f46

File tree

4 files changed

+24
-8
lines changed

4 files changed

+24
-8
lines changed

scripts/auto_redirectLargestImageSrc.js

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,21 @@ export default {
2020
img: "/scripts/auto_redirectLargestImageSrc.jpg",
2121
},
2222

23+
buttons: [
24+
{
25+
icon: '<i class="fa-regular fa-circle-question"></i>',
26+
name: {
27+
vi: "Danh sách trang web",
28+
en: "Supported websites",
29+
},
30+
onClick: () => {
31+
window.open(
32+
"/pages/viewScriptSource/index.html?file=auto_redirectLargestImageSrc_rules"
33+
);
34+
},
35+
},
36+
],
37+
2338
changeLogs: {
2439
"2024-04-16": "init",
2540
},

scripts/remove_tracking_in_url.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,7 @@ export default {
3131
},
3232
onClick: () => {
3333
window.open(
34-
chrome?.runtime?.getURL?.("/pages/viewScriptSource/index.html") +
35-
"?file=remove_tracking_in_url_rules_simplified"
34+
"/pages/viewScriptSource/index.html?file=remove_tracking_in_url_rules_simplified"
3635
);
3736
},
3837
},

templates/full.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@ export default {
1717
buttons: [
1818
{
1919
icon: '<i class="fa-regular fa-circle-question"></i>',
20-
title: {
20+
name: {
2121
vi: "Đây là gì?",
2222
en: "What is this?",
2323
},
24-
onPress: () => {},
24+
onClick: () => {},
2525
},
2626
],
2727

working_note.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
## 28/04/2024 - 24/05/2024
44

5+
- [x] tham khảo <https://github.com/imhiendev/API_FACEBOOK> => facebook graph api có nhiều hơn
6+
57
- [ ] update rules cho auto inlarge image <https://chromewebstore.google.com/detail/hover-zoom+/pccckmaobkjjboncdfnnofkonhgpceea>
68

79
- [ ] Update contributor guide khi release ver mới
@@ -16,9 +18,9 @@
1618

1719
- [ ] css variables hay <https://codepen.io/valhead/pen/yXYYdm> <https://valhead.com/2017/07/21/animating-with-css-variables/> <https://codepen.io/magnificode/pen/JedJPO>
1820

19-
- [ ] giấu dữ liệu trong text <https://tranxuanthang.github.io/zwc-datahider/index.html>
21+
- [x] giấu dữ liệu trong text <https://tranxuanthang.github.io/zwc-datahider/index.html>
2022

21-
- [ ] image downloader <https://chromewebstore.google.com/detail/image-downloader-imageye/agionbommeaifngbhincahgmoflcikhm>
23+
- [x] image downloader <https://chromewebstore.google.com/detail/image-downloader-imageye/agionbommeaifngbhincahgmoflcikhm> => chrome.downloads không tải nhiều link cùng lúc đc => dùng fdm, idm vẫn ổn hơn
2224

2325
- [x] save to facebook <https://chromewebstore.google.com/detail/save-to-facebook/jmfikkaogpplgnfjmbjdpalkhclendgd> => Cần load script/css từ facebook => không ổn
2426

@@ -90,7 +92,7 @@ openssl rsa -in useful-script.pem -pubout > public_key.pem
9092

9193
## 29/03/2024 - 28/04/2024
9294

93-
- [ ] fb_invisible_message có vẻ không hoạt động
95+
- [x] fb_invisible_message có vẻ không hoạt động => xoá luôn, giữ lại phần tạo text tàng hình
9496

9597
- [x] fb_whoIsTyping có vẻ không hoạt động => chỉ hoạt động nếu ko mã hoá
9698

@@ -100,7 +102,7 @@ openssl rsa -in useful-script.pem -pubout > public_key.pem
100102

101103
- [ ] Tổng hợp các chức năng tải hàng loạt fb vào 1 trang web mới
102104

103-
- [ ] Test thử [rapid api](https://rapidapi.com/)
105+
- [x] Test thử [rapid api](https://rapidapi.com/) => toàn trả phí là chính
104106

105107
- [ ] Youtube local download => lấy data từ ytplayer.config.args.raw_player_response => Làm UI
106108

0 commit comments

Comments
 (0)