Skip to content

Commit

Permalink
Remove the script element
Browse files Browse the repository at this point in the history
  • Loading branch information
david-dick committed May 31, 2024
1 parent 563aec2 commit 148572c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/Firefox/Marionette/Extension/Stealth.pm
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ sub _content_contents {
let text = document.createTextNode('$user_agent_contents');
script.appendChild(text);
(document.head || document.documentElement).appendChild(script);
script.remove();
}
_JS_
}
Expand Down

0 comments on commit 148572c

Please sign in to comment.