inject modal to page through extension
"web_accessible_resources": [
"modal.html",
],
inject modal to page through extension
"web_accessible_resources": [
"modal.html",
],
inject modal to page through extension
fetch(chrome.extension.getURL('/modal.html'))
.then(response => response.text())
.then(data => {
document.getElementById('inject-container').innerHTML = data;
// other code
// eg update injected elements,
// add event listeners or logic to connect to other parts of the app
}).catch(err => {
// handle error
});
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us