D
D
dollar2019-05-12 20:52:13
JavaScript
dollar, 2019-05-12 20:52:13

Is it possible for a site to prevent the page from loading and completely replace it?

The idea is to
a) speed up a slow loading site that is not cached. That is, the extension works like a cache.
b) keep showing the site even if it crashes and becomes unavailable.
At the time of interception, the site itself does not need to be loaded, that is, the content is not needed. In any case, you need to give the user html from the extension memory and very quickly, without waiting for the download or canceling it.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
B
Boris Korobkov, 2019-05-13
@dollar

Option 1. Caching proxy server
Option 2. New site, extension or just js. Difference from the previous option: the user does not download the URL of the original site, but yours

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question