Tags » safari
TIL: Open a Safari webarchive from Twitter/X without being redirected
Disabling JavaScript when you open the webarchive file will prevent you from redirecting you to twitter.com.
Creating a Safari webarchive from the command line
We can use the
createWebArchiveData
method onWKWebView
to write a Swift script that creates Safari webarchive files.TIL: What’s inside a Safari webarchive?
The inside of a
.webarchive
file is a binary property list with the complete responses and some request metadata.TIL: Get and manipulate the contents of a page in Safari with
"do JavaScript"