# Keep the video view on the embed page when YouTube's own pages load · dara/icarus

[View on GitCafe](https://git.cafe/dara/icarus/commit/8d43bd5935312fa5e163a290e58d64412c975616)

Repository: [dara/icarus](https://git.cafe/dara/icarus)

Visibility: public

Requested revision: 8d43bd5935312fa5e163a290e58d64412c975616

Requested commit: 8d43bd5935312fa5e163a290e58d64412c975616

Commit: 8d43bd5935312fa5e163a290e58d64412c975616

Tree: 19d3ffe53bcd8caec256704fed6a0ed0a8f9c2c1

Author: Dara Adedeji

Committer: Dara Adedeji

## Message

```
Keep the video view on the embed page when YouTube's own pages load

shouldOverrideUrlLoading on Windows only sees loads that go through the
network; YouTube's service worker serves its watch pages, so the view
still navigated there. The view now catches each load as it starts: a
page other than the embed opens in the browser and the embed comes back.

```

## Parents

- [f98700f39488b00170a197537b9ea8806319b69b](https://git.cafe/dara/icarus/commit/f98700f39488b00170a197537b9ea8806319b69b?format=markdown)

[Source at this commit](https://git.cafe/dara/icarus/tree/8d43bd5935312fa5e163a290e58d64412c975616?format=markdown)
