javascript - Is it possible to stop images/resources from downloading without using window.stop() -
i have tried using window.stop()
stop loading images when user closes lightbox after opening it.
it works , instantly stops connections/images downloading. has side-effect of stopping active websockets connections.
is there other way stop images/resources downloading without closing websocket connection?
thanks in advance.
i'm pretty sure there no way stop window loading, still load things.
calling window.stop()
same clicking stop button in browser, , stops loading of large images, new windows, , other objects loading deferred, , includes websockets, , other scripts supposed load, , can't stop things, , let other things load stop()
function never called. it's or nothing !
Comments
Post a Comment