mirror of
https://github.com/miljegen/browser-milje.git
synced 2025-08-16 10:03:43 +00:00
extension should now communicate with the official website and hide an element from it
This commit is contained in:
@@ -20,4 +20,7 @@ div.style.backgroundSize = 'contain'
|
||||
div.style.backgroundRepeat = 'no-repeat'
|
||||
div.style.backgroundPosition = 'center'
|
||||
div.style.transform = 'translateY(-50%)'
|
||||
document.body.appendChild(div)
|
||||
document.body.appendChild(div)
|
||||
|
||||
const message = { extensionDetected: true };
|
||||
window.postMessage(message, "*");
|
Reference in New Issue
Block a user