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

Popular posts from this blog

jquery - How can I dynamically add a browser tab? -

node.js - Getting the socket id,user id pair of a logged in user(s) -

keyboard - C++ GetAsyncKeyState alternative -