Github Html Preview
Take a look at the HTML on the GitHub Repository.
Additional files are visible only to premium users
manifest.json
{
"update_url": "https://clients2.google.com/service/update2/crx",
"name": "Github Html Preview",
"description": "Take a look at the HTML on the GitHub Repository.",
"version": "3.0",
"manifest_version": 3,
"permissions": [
"storage",
"scripting"
],
"host_permissions": [
"https://github.com/*",
"https://raw.githubusercontent.com/*",
"https://dohyeon5626.github.io/github-html-preview-page/*"
],
"web_accessible_resources": [
{
"resources": [
"page/preview.html"
],
"matches": [
"<all_urls>"
]
}
],
"icons": {
"16": "icon/16.png",
"32": "icon/32.png",
"48": "icon/48.png",
"128": "icon/128.png"
},
"action": {
"default_popup": "popup/popup.html"
},
"background": {
"service_worker": "background.js"
},
"content_scripts": [
{
"matches": [
"https://github.com/*.html"
],
"js": [
"html-page-content.js"
]
},
{
"matches": [
"https://dohyeon5626.github.io/github-html-preview-page/*"
],
"js": [
"preview-page-content.js"
]
}
]
}