EtherDream/jsproxy

[Feature Request] serviceworker auto loading in proxy page

diyism opened this issue · 0 comments

@EtherDream ,

For example, if I want share a youtube video: https://[my cloudflare domain]/jsproxy/-----https://www.youtube.com/watch?v=LSdWJujPa8s
to one of my friends,
for the first time, when he open the url it will show 404, unless he open the front page https://[my cloudflare domain]/jsproxy/ in advance.
But I don't want to tell my friend to do the 2 steps to watch a youtube video, it's troublesome for him.

How to add some code into https://github.com/EtherDream/jsproxy/blob/gh-pages/assets/bundle.c33e24c5.js
to enable the proxy page to auto check and load the serviceworker without visiting the https://[my cloudflare domain]/jsproxy/ first?

Malcolm