opened
bmomberger-bitovi
username_0
Chrome 68 is letting some extensions add their script tags to the DOM before synchronous scripts are run.  This breaks old Steal's expectation that the Steal script tag is the last script currently in the DOM.  This PR takes the more reliable getStealScript() function from the latest Steal and adapts it to 0.16 (no Electron check, otherwise the same).

<!--
Thanks for your contribution!

Please make sure your pull request (PR) includes documentation and/or test updates.

In this PR description, please include a link to the issue(s) your PR addresses. If you include the issue number(s) in your commit(s), GitHub can automatically close the original issue(s): https://help.github.com/articles/closing-issues-via-commit-messages/

If applicable, please include a screenshot or gif to demonstrate your change. This makes it easier for reviewers to verify that it works for them. You can use LICEcap to make a gif: http://www.cockos.com/licecap/
-->
Backport getStealScript() from steal 2.x to fix Chrome 68 extension script issue
issue
created
matthewp
username_1
👍 lgtm
comment