Skip to content

Commit 4876597

Browse files
committed
fix
1 parent 785bf48 commit 4876597

10 files changed

+36
-8
lines changed

scripts/doutube_getAllVideoInUserProfile.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,6 @@ export default {
6868
closeFullVideo();
6969
await sleep(500);
7070
}
71-
7271
console.log(allUrls);
7372
alert("Tìm được " + allUrls.length + " videos. Bấm ok để tải xuống link.");
7473
download(location.pathname + ".txt", allUrls.join("\n"));

scripts/insta_getAllImagesInNewFeed.js

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,15 @@ export default {
77
en: "Get all images in newfeed instagram",
88
vi: "Tải về tất cả ảnh đang có trên newfeed instagram",
99
},
10-
10+
blackList: [],
11+
whiteList: ["https://*.instagram.com/*"],
12+
13+
onClick: async function () {
14+
const getAllImgTag = () =>
15+
Array.from(document.querySelectorAll("img[sizes*=px]")) || [];
16+
const sleep = (milliseconds) =>
17+
new Promise((resolve) => setTimeout(resolve, milliseconds));
18+
1119
// https://greasyfork.org/en/scripts/14755-instagram-reloaded
1220
function getBestImage(imgEl) {
1321
try {

scripts/instantgram.js

Lines changed: 3 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

scripts/nhaccuatui_downloader.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@ export default {
88
en: "Download the song that be playing in Nhaccuatui",
99
vi: "Tải bài nhạc / lời bài hát đang nghe trên Nhaccuatui",
1010
},
11-
const renderSongInfo = (songInfos, tableId = "") => {
11+
12+
onClick: function () {
13+
const renderSongInfo = (songInfos, tableId = "") => {
1214
if (!songInfos?.length) return `<p>Không có gì hết.</p>`;
1315

1416
let tableBody = songInfos

scripts/savevideo_me.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ export default {
1515
vi: "Tải videos từ Dailymotion, Facebook, Vimeo, Twitter, Instagram / Reels, TikTok, Rumble.com, Streamable.com, Aol Video, Bilibili.com (哔哩哔哩), Bilibili.tv, Coub, DouYin (抖音), Flickr Videos, Focus.de, GMX.net / WEB.DE, ItemFix, Magisto, Reddit, Sapo.pt, T.me (Telegram), Tiscali.it Video, Tudou, Veoh, Vidmax.com, Vine (archive), WorldStarHipHop, Youku",
1616
},
1717

18+
onClickExtension: async function () {
19+
// https://savevideo.me/en/
20+
1821
let { closeLoading } = showLoading("Đang get link video...");
1922
try {
2023
let tab = await getCurrentTab();

scripts/showHiddenFields.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ export default {
99
vi: "Web thường ẩn mốt số thành phần như token, id, form, ...",
1010
},
1111

12+
onClick: function () {
13+
// source code from: https://bookmarklet.vercel.app/
14+
1215
var i,
1316
f,
1417
j,

scripts/showTheAudios.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@ export default {
88
en: "Will display all audio in website, easy to download/get link.",
99
vi: "Hiển thị tất cả tag audio/âm thanh trong trang web, giúp dễ dàng tải xuống/lấy link.",
1010
},
11-
let audios = Array.from(document.querySelectorAll("audio") || []);
11+
12+
onClick: function () {
13+
let audios = Array.from(document.querySelectorAll("audio") || []);
1214
audios = audios?.filter((_) => !!_.src);
1315

1416
if (!audios?.length) {

scripts/showTheImages.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@ export default {
88
en: "Will even show hidden images as well as pulling them out of a slider/rotator.",
99
vi: "Sẽ thấy đươc ảnh bị ẩn, dễ dàng chuột phải để tải về",
1010
},
11-
// source code from https://bookmarklet.vercel.app/
11+
12+
onClick: function () {
13+
// source code from https://bookmarklet.vercel.app/
1214

1315
var iGrabSH = "";
1416
(function () {

scripts/viewAllLinks.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,10 @@ export default {
88
en: "Show all links and anchor text of current page.",
99
vi: "Liệt kê tất cả đường link có trong website",
1010
},
11-
e = e.replace(/[\[]/, "\\[").replace(/[\]]/, "\\]");
11+
12+
onClick: function () {
13+
function getParameterByName(e, t) {
14+
e = e.replace(/[\[]/, "\\[").replace(/[\]]/, "\\]");
1215
var n = new RegExp("[\\?&]" + e + "=([^&#]*)"),
1316
r = n.exec(
1417
t == true ? location.hash.replace("#", "?") : location.search

scripts/whois.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,8 @@ export default {
88
en: "Want to find out who owns a domain? Click on this!",
99
vi: "Muốn biết ai đang giữ domain này? Click ngay!",
1010
},
11-
11+
12+
onClick: function () {
13+
window.open("http://who.is/whois/" + document.domain);
14+
},
15+
};

0 commit comments

Comments
 (0)