Skip to content

Commit

Permalink
rearrange files
Browse files Browse the repository at this point in the history
  • Loading branch information
niu541412 committed Jun 1, 2024
1 parent 16fab79 commit 9ef0088
Show file tree
Hide file tree
Showing 11 changed files with 16 additions and 9 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
# 2.4.2
- 重新组织文件夹内容

# 2.4.1
- 修复Firefox上用户定义网站经常不工作的问题
- 修改切换按钮的工作的背景外观。发现在Firefox上用户定义的图标会生成失败。

# 2.4.0
- 迁移 localStorage API 到 browser.storage.local
- 修改部分代码为异步
Expand Down
12 changes: 6 additions & 6 deletions background.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@

<head>
<meta charset="UTF-8" />
<script src="oop.js"></script>
<script src="url.js"></script>
<script src="kw.js"></script>
<script src="bg.js"></script>
<script src="builtin.js"></script>
<script src="shortcut.js"></script>
<script src="js/oop.js"></script>
<script src="js/url.js"></script>
<script src="js/kw.js"></script>
<script src="js/bg.js"></script>
<script src="js/builtin.js"></script>
<script src="js/shortcut.js"></script>
</head>

<body>
Expand Down
2 changes: 1 addition & 1 deletion bg.js → js/bg.js
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,7 @@ var OneClick = Class(ObjectClass, {
chrome.storage.local.get('useshortcut', (item) => {
if (item.useshotcut !== '0') {
chrome.tabs.executeScript(tab.id, {
file: "shortcut.js"
file: "js/shortcut.js"
})
}
})
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,5 @@
"*://*/*"
],
"short_name": "一键切换",
"version": "2.4.1"
"version": "2.4.2"
}
2 changes: 1 addition & 1 deletion options.html
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ <h3 style="margin-top:30px;">切换设置:</h3>
</div>
<button id="save">保存</button>

<script src="options.js"></script>
<script src="js/options.js"></script>
</body>

</html>

0 comments on commit 9ef0088

Please sign in to comment.