Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function isFramed () {
- try {
- if(top.location.href != window.location.href) {
- return true;
- }
- } catch (e) { // catch browser security, obviously in a frame then
- return true;
- }
- return false;
- }
Add Comment
Please, Sign In to add comment