Plugins will not use the trick to load pages.
If you want your page to be locked before it loads, the content blocking element must be part of your page and not generated by any plugin that always starts after loading your page. At some point in time.
<body>
...
<div id="blocker">
<div>Loading...</div>
</div>
</body>
And CSS do the rest
#blocker
{
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
opacity: .5;
background-color: #000;
z-index: 1000;
}
#blocker div
{
position: absolute;
top: 50%;
left: 50%;
width: 5em;
height: 2em;
margin: -1em 0 0 -2.5em;
color: #fff;
font-weight: bold;
}
And Javascript that clears the lock:
$(function(){
$("#blocker").hide();
});
This is a working example using the code above. It removes the timeout blocker because it is such a simple document.
Important Notice
, , . , , , . unload . , , ( ).
, ,
, . , , . , . :
- , ( - ?)
- HTML- , :
- META - , javascript
- javascript - , Javascript (
__doPostback -)
, - . , .
. , ( ) . . , , . , , (, / ). .
, , Asp.net . , , . . , , , .
, . , .
, , , . , , ( ) . , , , .NET- .
, .