Skip to content

Commit

Permalink
fix(chrome-130): fixed the issue with dynamically loaded scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
tabris87 committed Dec 30, 2024
1 parent 76107ca commit 0a1c18b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions webapp/assets/scripts/content_inject.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
console.log('--- Inject UI5 Journey Recorder JS ---');
let script = document.createElement('script');
script.id = `${TAG_ID_PREFIX}-js`;
script.type = 'source';
script.src = chrome.runtime.getURL('/assets/scripts/page_inject.js');
script.defer = "defer";
document.head.prepend(script);
Expand All @@ -23,7 +22,6 @@
console.log('--- Inject Communication JS ---');
let script = document.createElement('script');
script.id = `${TAG_ID_PREFIX}communication-js`;
script.type = 'source';
script.src = chrome.runtime.getURL('/assets/scripts/communication_inject.js');
script.setAttribute('data-id', EXT_ID);
script.defer = "defer";
Expand Down
2 changes: 1 addition & 1 deletion webapp/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"matches": [
"<all_urls>"
],
"use_dynamic_url": true
"use_dynamic_url": false
}
],
"host_permissions": [
Expand Down

0 comments on commit 0a1c18b

Please sign in to comment.