Anti - Framebraker/-Framekiller (Quick Project)

Important: Describe in your Private Message in detail how you want to solve this project!

I need a working Framebraker script without the alert window (asking if you want to stay or leave this page).

The Anti - Framebraker Script example (that can be used):

var prevent_bust = 0;

// Event handler to catch execution of the busting script.
window.onbeforeunload = function() { prevent_bust++ };

// Continuously monitor whether busting script has fired.
setInterval(function() {
if (prevent_bust > 0) { // Yes: it has fired.
prevent_bust -= 2; // Avoid further action.
// Get a 'No Content' status which keeps us on the same page.
window.top.location = 'http://server-which-responds-with-204.example.com';
}
}, 1);

My problem is the http://server-which-responds-with-204.example.com to get the 204 error respond or
Im not sure if this script works in current browsers like firefox 9 or i made a mistake. Because primery its important to get it to work in firefox .

Ive tried to get the 204 error with this code:

The error of my solution with firefox 9 is that the browsers stops ALL . no iframe is loading and no clicks can be made even pagereload not work.

IF you test your solutions for this script and its not working then i need a other working one.

Usefull links:
What is Framekiller and what is Anti Framekiller
explanation: http://en.wikipedia.org/wiki/Framekiller

http://coderrr.wordpress.com/2009/02/13/preventing-frame-busting-and-click-jacking-ui-redressing/
https://www.owasp.org/index.php/Clickjacking
another usefull link: http://coderrr.wordpress.com/2009/06/18/anti-anti-frame-busting/

ps. Its not for cheating its a securirty prevention if costumer use a framebreaker in our layer/iframe script.

Search All Jobs:

Job Details

  • Job Type
  • Fixed Price Job
  • Budget
  • $30-$75
  • Start Date
  • 03/06/2012 10:11:44 PM
  • Job Status
  • Job Expired