Bug 2018543 Comment 11 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

So that cryptic script ends up making `script.src` setter, through a dark magic, to set `type=text/plain`. A plain text script element is not going to fire any load/error events, thus breaking wp-rocket's expectation.

The recommended intervention is to ignore all the details and

* override the user agent string to not include Firefox.
* or, set `navigator.vendor` to an empty string

to make wp-rocket not enter Firefox specific branch.
So that cryptic script ends up making `script.src` setter, through a dark magic, to set `type=text/plain`. A plain text script element is not going to fire any load/error events, thus breaking wp-rocket's expectation.

The recommended intervention is to ignore all the details and override the user agent string to not include Firefox, to make wp-rocket not enter Firefox specific branch.

Back to Bug 2018543 Comment 11