Skip to content

Commit

Permalink
Frame width and height setting doesn't work via frame.style in Firefox,
Browse files Browse the repository at this point in the history
width and height attribute of frame are now changed directly.
  • Loading branch information
Thomas Skora committed Jan 16, 2015
1 parent 44f22a7 commit 189f7cd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions clickjacking.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="utf-8">
<title>Clickjacking Proof-of-Concept-Exploit</title>
<!--
Copyright 2014 Thomas Skora <thomas@skora.net>
Copyright 2015 Thomas Patzke <thomas@patzke.org>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
Expand Down Expand Up @@ -85,8 +85,8 @@
cp.style.left = curcp.x;
cp.style.top = curcp.y;
if (curcp.framewidth != undefined && curcp.frameheight != undefined) {
frm.style.width = curcp.framewidth;
frm.style.height = curcp.frameheight;
frm.width = curcp.framewidth;
frm.height = curcp.frameheight;
}
if (curcp.framex != undefined && curcp.framey != undefined) {
frm.style.left = curcp.framex;
Expand Down

0 comments on commit 189f7cd

Please sign in to comment.