Created
January 11, 2018 23:11
-
-
Save usergenic/9baf88a24dcbc77bc808339755a7d436 to your computer and use it in GitHub Desktop.
Workaround for LastPass's clobbering of createElement
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script> | |
document.createElement = Document.prototype.createElement; | |
</script> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<!-- ce-fix must be the first html import encountered --> | |
<link rel="ce-fix.html"> | |
<link rel="src/my-app.html"> | |
</head> | |
<body> | |
<my-app></my-app> | |
</body> | |
</html> |
@usergenic Unfortunately, this workaround seems not working on Firefox with LastPass plugin version 4.71 (I checked that ce-fix.html is the first import).
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
where is the pathway for this on hass.io?