Skip to content

Commit 90de2ba

Browse files
committed
feat: Change script injection to document.documentElement for improved compatibility
1 parent 8bc9d3e commit 90de2ba

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

public/content.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
const script = document.createElement('script')
22
script.src = chrome.runtime.getURL('auth.js')
3-
document.body.appendChild(script)
3+
document.documentElement.appendChild(script)
44

55
// Listen for messages from the injected script
66
window.addEventListener('message', (event) => {

0 commit comments

Comments
 (0)