via
via copied to clipboard
Loading bar doesn't finish on Checkmate pages
When a URL is blocked by Checkmate the loading bar appears and starts loading but never completes. Example:
https://via.hypothes.is/https://example.com/publisher-blocked
Slack thread: https://hypothes-is.slack.com/archives/C1M8NH76X/p1621360348014500
See https://github.com/hypothesis/via/pull/1020 for how this same issue was fixed in the context of our video player. The TL;DR is that the top Via frame relies on the content frame sending it a message with the page URL and title, via window.postMessage.