-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
199 additions
and
214 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,51 +1,37 @@ | ||
{ | ||
"name": "@cocos-fe/github-ids", | ||
"version": "1.0.5", | ||
"description": "cocos 开发人员的 github 中文名映射表", | ||
"homepage_url": "http://cocos.90s.co", | ||
"manifest_version": 3, | ||
"permissions": [ | ||
"storage" | ||
], | ||
"content_scripts": [ | ||
{ | ||
"matches": [ | ||
"https://github.com/cocos/*", | ||
"https://github.com/cocos-creator/*" | ||
], | ||
"css": [ | ||
"./styles/content.css" | ||
], | ||
"js": [ | ||
"./scripts/content.js" | ||
], | ||
"run_at": "document_end" | ||
} | ||
], | ||
"action": { | ||
"default_popup": "popup.html", | ||
"default_icon": { | ||
"16": "images/logo.png", | ||
"32": "images/logo.png", | ||
"48": "images/logo.png", | ||
"128": "images/logo.png" | ||
} | ||
}, | ||
"icons": { | ||
"16": "images/logo.png", | ||
"32": "images/logo.png", | ||
"48": "images/logo.png", | ||
"128": "images/logo.png" | ||
}, | ||
"web_accessible_resources": [ | ||
{ | ||
"resources": [ | ||
"images/*.png", | ||
"styles/*.css" | ||
], | ||
"matches": [ | ||
"<all_urls>" | ||
] | ||
} | ||
] | ||
} | ||
"name": "@cocos-fe/github-ids", | ||
"version": "1.0.6", | ||
"description": "cocos 开发人员的 github 中文名映射表", | ||
"homepage_url": "http://cocos.90s.co", | ||
"manifest_version": 3, | ||
"permissions": ["storage"], | ||
"content_scripts": [ | ||
{ | ||
"matches": ["https://github.com/cocos/*", "https://github.com/cocos-creator/*"], | ||
"css": ["./styles/content.css"], | ||
"js": ["./scripts/content.js"], | ||
"run_at": "document_end" | ||
} | ||
], | ||
"action": { | ||
"default_popup": "popup.html", | ||
"default_icon": { | ||
"16": "images/logo.png", | ||
"32": "images/logo.png", | ||
"48": "images/logo.png", | ||
"128": "images/logo.png" | ||
} | ||
}, | ||
"icons": { | ||
"16": "images/logo.png", | ||
"32": "images/logo.png", | ||
"48": "images/logo.png", | ||
"128": "images/logo.png" | ||
}, | ||
"web_accessible_resources": [ | ||
{ | ||
"resources": ["images/*.png", "styles/*.css"], | ||
"matches": ["<all_urls>"] | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,17 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8" /> | ||
<style> | ||
body { | ||
width: 120px; | ||
text-align: center; | ||
} | ||
</style> | ||
</head> | ||
|
||
<head> | ||
<meta charset="UTF-8"> | ||
<style> | ||
body { | ||
width: 120px; | ||
text-align: center; | ||
} | ||
</style> | ||
</head> | ||
|
||
<body> | ||
cocos FE 开发<br /> <a target="_blank" href="http://cocos.90s.co/">进入主页</a> | ||
</body> | ||
|
||
</html> | ||
<body> | ||
cocos FE 开发<br /> | ||
<a target="_blank" href="https://cocos.90s.co/">进入主页</a> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
chrome.runtime.onInstalled.addListener(function() { | ||
chrome.runtime.onInstalled.addListener(function () { | ||
console.log('@cocos-fe/githubs-ids background.js active'); | ||
}); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.