/    Sign up×
Community /Pin to ProfileBookmark

Code for keep a site in frame

Hello,
Can Anybody give me any code for keep a site in frame, in defiance of the code against frames that is laid on their pages?
Thanks,
Victor

to post a comment
JavaScript

3 Comments(s)

Copy linkTweet thisAlerts:
@rootJun 08.2007 — well... window.length tells you "How" many frames make up the window that the page being displayed is sitting in.

That is one clue for you...
Copy linkTweet thisAlerts:
@felgallJun 08.2007 — If you want a page to display in a frame then remove the code from the page that forces it to redisplay out of the frame. If it isn't your page then you are not allowed to display it in frames in the first place without the owner's permission and a framebreaker can be taken to be a NO answer. Even if there were a way to bypass their framebreaker script it would be against the terms of service for this forum for anyone to tell you how to steal their content that way.
Copy linkTweet thisAlerts:
@rootJun 08.2007 — I now see what he means, he wants a break out of "OTHERS" frames script which is totally acceptable if you dont want your site in someone elses frameset then I see no problem...

Its something like: if (top.location != location) {
top.location.href = document.location.href ;
}
×

Success!

Help @p_rvictor spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.17,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @nearjob,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,
)...