Commit Graph
3 Commits
Author SHA1 Message Date
Ilya Kreymer 43122425e5 Restrict new windows in replay + improved service worker loading + better error messages (#126)
* embeds:
- support target rewriting with named iframe as per webrecorder/wombat#94
- refactor sw init: detect additional errors, such as CORS issues in nested iframes
- support cross-origin replaybase for embeds
- add 'requirecrossoriginiframe' to restrict embed to only be loaded in subdomain iframes, otherwise showing
- rename noSandbox -> sandbox, not enabled by default

init: set appName on service worker init
docs:
- add example embed to embedding doc
- update docs for noSandbox -> sandbox
- add warning if deprecated 'noSandbox' flag is used, explaining that it is now deprecated
- update embedding and CHANGES.md with latest features
- add tweet-example.wacz
- add embed.html to test embeds

bump to 1.7.0-beta.1
2022-10-03 20:04:35 -07:00
Ed Summers 4cb52b4480 Fix WACZ example (#121)
Fix the https://webrecorder-builds.s3.amazonaws.com/wacz/netpreserve-twitter.wacz dead link to point at https://replayweb.page/docs/assets/example.wacz instead.
2022-09-19 10:52:15 -07:00
Ilya KreymerandDaleLore f35776e165 Docs Improvements (#39)
* Restructure - wrote and added photos for online and offline use

* add new images

* add more info on embedding options, add CORS configuration example

Co-authored-by: DaleLore <DaleLore@protonmail.com>
2021-03-17 20:34:19 -07:00