issues
search
webrecorder
/
wabac.js
wabac.js - Web Archive Browsing Augmentation Client
https://replayweb.page
GNU Affero General Public License v3.0
96
stars
16
forks
source link
Rewriting Global + Live Proxy Fixes
#158
Closed
ikreymer
closed
6 months ago
ikreymer
commented
6 months ago
Globals:
Don't rewrite globals if they're redeclared locally (fixes
https://github.com/webrecorder/wombat/issues/127
)
Fix parsing of inline attributes: parse if starts with 'javascript:' or property name starts with on* (matches pywb behavior more accurately)
rewrite: replace newlines for inline attr before acorn parse, and also after wrap
tests: add tests for inline attribute parsing, including wrapping bump to 2.17.0
Live Proxy:
when proxying to an existing web archive, remove the web archive prefix from the redirect URL to avoid double-adding the redirect
support timestamp / web archive mode proxy
support updating URL when navigating to new page.
Globals:
Live Proxy: