You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
pywb rewrites all this uses to use a wrapper. However, the rewriting can be a bit overzealous, since it does so inside strings. For example, document.querySelector("p").innerText = "well, this is awkward" gets rewritten into document.querySelector("p").innerText = "well, _____WB$wombat$check$this$function_____(this) is awkward"
Describe the bug
pywb rewrites all
this
uses to use a wrapper. However, the rewriting can be a bit overzealous, since it does so inside strings. For example,document.querySelector("p").innerText = "well, this is awkward"
gets rewritten intodocument.querySelector("p").innerText = "well, _____WB$wombat$check$this$function_____(this) is awkward"
Steps to reproduce the bug
wb-manager init test
wb-manager add test test.warc.gz
Expected behavior
The rewrite to not hapen inside strings
Screenshots
Environment
The text was updated successfully, but these errors were encountered: