Skip to content

Commit 1cc3889

Browse files
committed
change file name
1 parent 43974d4 commit 1cc3889

File tree

12 files changed

+24
-25
lines changed

12 files changed

+24
-25
lines changed

_config.yml

Lines changed: 0 additions & 6 deletions
This file was deleted.

md/CONTRIBUTE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Nếu bạn có 1 `script hay`, hoặc `bookmarklets hay`, muốn `thêm vào ex
2020
3. Ghi nội dung script:
2121
- Đọc cấu trúc code và comment trong file [templates/full.js](/templates/full.js) để biết thêm chi tiết.
2222

23-
4. Import script của bạn trong file [/scripts/_index.js](/scripts/_index.js)
23+
4. Import script của bạn trong file [/scripts/@index.js](/scripts/@index.js)
2424

2525
5. Ghi tên script của bạn trong biến `tabs` trong file [/popup/tabs.js](/popup/tabs.js)
2626

popup/helpers/storageScripts.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import allScripts from "../../scripts/_allScripts.js";
1+
import allScripts from "../../scripts/@allScripts.js";
22

33
const createScriptsSaver = (key, addToHead = true) => {
44
const getIds = () =>

popup/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ import {
4040
viewScriptSource,
4141
} from "./helpers/utils.js";
4242
import { checkPass } from "../scripts/auto_lockWebsite.js";
43-
import allScripts from "../scripts/_allScripts.js";
43+
import allScripts from "../scripts/@allScripts.js";
4444
// import _ from "../md/exportScriptsToMd.js";
4545

4646
const settingsBtn = document.querySelector(".settings");

popup/tabs.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import s from "../scripts/_allScripts.js";
1+
import s from "../scripts/@allScripts.js";
22
import { Recommend as R } from "./recommend.js";
33
import { canAutoRun } from "./helpers/utils.js";
44
import { CATEGORY } from "./helpers/category.js";
@@ -33,8 +33,8 @@ const tabs = [
3333
{
3434
...CATEGORY.search,
3535
scripts: [
36-
// s._test,
37-
// s._ufs_statistic,
36+
// s.test,
37+
// s.ufs_statistic,
3838
R.theresanaiforthat,
3939
R.timeis,
4040
R.googleTrending,
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import * as allScripts from "./_index.js";
1+
import * as allScripts from "./@index.js";
22

33
// inject id to all scripts
44
Object.entries(allScripts).forEach(([variableName, script]) => {
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// https://stackoverflow.com/a/59002206
22

3-
export { default as _test } from "./_test.js";
3+
export { default as test } from "./@test.js";
44
export { default as fb_toggleLight } from "./fb_toggleLight.js";
55
export { default as fb_getTokenFacebook } from "./fb_getTokenFacebook.js";
66
export { default as fb_getUid } from "./fb_getUid.js";
@@ -137,7 +137,7 @@ export { default as magnify_image } from "./magnify_image.js";
137137
export { default as auto_redirectLargestImageSrc } from "./auto_redirectLargestImageSrc.js";
138138
export { default as textToQrCode } from "./textToQrCode.js";
139139
export { default as insta_anonymousStoryViewer } from "./insta_anonymousStoryViewer.js";
140-
export { default as _ufs_statistic } from "./_ufs_statistic.js";
140+
export { default as ufs_statistic } from "./@ufs_statistic.js";
141141
export { default as pip_fullWebsite } from "./pip_fullWebsite.js";
142142
export { default as similarWeb_bypassLimit } from "./similarWeb_bypassLimit.js";
143143
export { default as pip_canvas } from "./pip_canvas.js";
File renamed without changes.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ async function onDocumentEnd() {
4949
const container = document.createElement("div");
5050

5151
if (hasLog) {
52-
UfsGlobal.Extension.getURL("/scripts/_ufs_statistic.css").then(
52+
UfsGlobal.Extension.getURL("/scripts/@ufs_statistic.css").then(
5353
UfsGlobal.DOM.injectCssFile
5454
);
5555

0 commit comments

Comments
 (0)