Never been to DZone Snippets before?

Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world

防止框架(跳出框架页) (See related posts)

// description of your code here

<SCRIPT LANGUAGE=JAVASCRIPT> 
<!-- 
if (top.location !== self.location) { 
top.location=self.location; 
} 
</SCRIPT>

You need to create an account or log in to post comments to this site.


Click here to browse all 5059 code snippets

Related Posts