Rename html files (#1377)
* Rename context.html to action-popup.html * Rename float.html to popup.html
This commit is contained in:
parent
daea80942c
commit
d5964ee4d4
@ -25,7 +25,7 @@
|
||||
"128": "images/icon128.png"
|
||||
},
|
||||
"default_title": "Yomichan",
|
||||
"default_popup": "context.html"
|
||||
"default_popup": "action-popup.html"
|
||||
},
|
||||
"background": {
|
||||
"page": "background.html",
|
||||
@ -111,7 +111,7 @@
|
||||
}
|
||||
},
|
||||
"web_accessible_resources": [
|
||||
"float.html",
|
||||
"popup.html",
|
||||
"template-renderer.html"
|
||||
],
|
||||
"content_security_policy": "default-src 'self'; style-src 'self' 'unsafe-inline'; media-src *; connect-src *"
|
||||
|
@ -256,7 +256,7 @@ class Popup extends EventDispatcher {
|
||||
frame.removeAttribute('srcdoc');
|
||||
this._observeFullscreen(true);
|
||||
this._onFullscreenChanged();
|
||||
const url = chrome.runtime.getURL('/float.html');
|
||||
const url = chrome.runtime.getURL('/popup.html');
|
||||
if (useSecurePopupFrameUrl) {
|
||||
frame.contentDocument.location.href = url;
|
||||
} else {
|
||||
|
@ -24,7 +24,7 @@
|
||||
"128": "images/icon128.png"
|
||||
},
|
||||
"default_title": "Yomichan",
|
||||
"default_popup": "context.html"
|
||||
"default_popup": "action-popup.html"
|
||||
},
|
||||
"background": {
|
||||
"page": "background.html",
|
||||
@ -110,7 +110,7 @@
|
||||
}
|
||||
},
|
||||
"web_accessible_resources": [
|
||||
"float.html",
|
||||
"popup.html",
|
||||
"template-renderer.html"
|
||||
],
|
||||
"content_security_policy": "default-src 'self'; style-src 'self' 'unsafe-inline'; media-src *; connect-src *"
|
||||
|
Loading…
Reference in New Issue
Block a user