Tom suggested that the html file without "</body></html>" can avoid the disclaimer include in the file.
However, clearly, it is not satisfy the rule of W3C.
The file is obviously not complete.
Actually, I still cannot get the idea how it write the disclaimer in my file.
I think the page has been pass to some program to add the disclaimmer before including in response packet.
What it added to my file is as follow:
<link ... href="/css/disclaimer.css" ... >
<script ... src="/js/disclaimer.js" ... ></script>
and
<div></div><div></div>
<div id="cse-disclaimer">
...
</div><!-- #cse-disclaimer -->
The .js file has a function disclaimer(), it may called at the end of the page (before </body></html>), this function will enable visibility of the disclaimer block.
What I did to block the disclaimer again is very simple, create a .js file, content is similar to disclaimer.js.
When the body is being loaded, call the block function in my .js file, and it will disable the visibility of the disclaimer.
Is it easy? Yes, it is. However I spend whole day to test it, because I am not familar with JS.
No comments:
Post a Comment