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"
|
"128": "images/icon128.png"
|
||||||
},
|
},
|
||||||
"default_title": "Yomichan",
|
"default_title": "Yomichan",
|
||||||
"default_popup": "context.html"
|
"default_popup": "action-popup.html"
|
||||||
},
|
},
|
||||||
"background": {
|
"background": {
|
||||||
"page": "background.html",
|
"page": "background.html",
|
||||||
@ -111,7 +111,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"web_accessible_resources": [
|
"web_accessible_resources": [
|
||||||
"float.html",
|
"popup.html",
|
||||||
"template-renderer.html"
|
"template-renderer.html"
|
||||||
],
|
],
|
||||||
"content_security_policy": "default-src 'self'; style-src 'self' 'unsafe-inline'; media-src *; connect-src *"
|
"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');
|
frame.removeAttribute('srcdoc');
|
||||||
this._observeFullscreen(true);
|
this._observeFullscreen(true);
|
||||||
this._onFullscreenChanged();
|
this._onFullscreenChanged();
|
||||||
const url = chrome.runtime.getURL('/float.html');
|
const url = chrome.runtime.getURL('/popup.html');
|
||||||
if (useSecurePopupFrameUrl) {
|
if (useSecurePopupFrameUrl) {
|
||||||
frame.contentDocument.location.href = url;
|
frame.contentDocument.location.href = url;
|
||||||
} else {
|
} else {
|
||||||
|
@ -24,7 +24,7 @@
|
|||||||
"128": "images/icon128.png"
|
"128": "images/icon128.png"
|
||||||
},
|
},
|
||||||
"default_title": "Yomichan",
|
"default_title": "Yomichan",
|
||||||
"default_popup": "context.html"
|
"default_popup": "action-popup.html"
|
||||||
},
|
},
|
||||||
"background": {
|
"background": {
|
||||||
"page": "background.html",
|
"page": "background.html",
|
||||||
@ -110,7 +110,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"web_accessible_resources": [
|
"web_accessible_resources": [
|
||||||
"float.html",
|
"popup.html",
|
||||||
"template-renderer.html"
|
"template-renderer.html"
|
||||||
],
|
],
|
||||||
"content_security_policy": "default-src 'self'; style-src 'self' 'unsafe-inline'; media-src *; connect-src *"
|
"content_security_policy": "default-src 'self'; style-src 'self' 'unsafe-inline'; media-src *; connect-src *"
|
||||||
|
Loading…
Reference in New Issue
Block a user