Questions tagged [framebusting]

25 questions
438
votes
20 answers

Frame Buster Buster ... buster code needed

Let's say you don't want other sites to "frame" your site in an So you insert anti-framing, frame busting JavaScript into all your pages: /* break us out of any containing iframes */ if (top !=…
Jeff Atwood
  • 63,320
  • 48
  • 150
  • 153
7
votes
1 answer

MSAL.js acquireTokenSilent on Azure AD B2C with Microsoft Account (login.live.com) framebusting

There is a problem with login.live.com that prevents acquiring access tokens with MSAL.js for Azure AD B2C with the Identity Provider Microsoft Account. When the iframe (msalRenewFrame…) tries to authenticate at…
6
votes
2 answers

Frame Busting buster not completely working for IE

I've been working on a Frame busting buster (what's in a name, hehe), which kept my users on my page and open a new window with the target URL. I'm using a Lightbox script to display iframes, this is what I'm doing: 1) Added an event for all…
Joshua - Pendo
  • 4,331
  • 6
  • 37
  • 51
5
votes
3 answers

PayPal integration with iframe-based cart

We use PayPal's Payments Pro NVP API to provide seamless credit card and paypal processing on our site. We've created an iframe-based cart widget that our customers put onto their site so their users can purchase items and pay via our Paypal…
SteveL
  • 171
  • 1
  • 1
  • 6
4
votes
0 answers

Most current framebusting javascript?

I need to add a javascript-based framebuster for my web application that helps prevent clickjacking (or Cross Frame Scripting) attacks for legacy browsers that don't support X-FRAME-OPTIONS. After searching the internet, I found that currently there…
Zoomzoom
  • 1,042
  • 2
  • 13
  • 32
2
votes
1 answer

Bypassing Frame buster

I need to bypass or bust a frame buster, but I don't have a server that returns 204. The best solution that works (partially so far) is the one in https://crypto.stanford.edu/~dabo/pubs/papers/framebust.pdf on page 4 section C, onBeforeUnload – 204…
max_max_mir
  • 1,494
  • 3
  • 20
  • 36
2
votes
0 answers

How to bypass the same origin policy to execute framekiller script on a different domain

I created a framekiller script in such way it allows framing a page only in selected domain to prevent clickjacking. Framekiller Code:
2
votes
1 answer

Show salesforce login form in an iframe

I am unable to show https://login.salesforce.com inside an IFrame.