diff options
Diffstat (limited to 'chrome/installer/setup/eula/oem.js')
-rw-r--r-- | chrome/installer/setup/eula/oem.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/chrome/installer/setup/eula/oem.js b/chrome/installer/setup/eula/oem.js index 4316a2c..5831b34 100644 --- a/chrome/installer/setup/eula/oem.js +++ b/chrome/installer/setup/eula/oem.js @@ -1,3 +1,10 @@ +function setInnerFrame() {
+ var regex = new RegExp("\\?innerframe=\"?([^&#\"]*)\"?");
+ var results = regex.exec(window.location.href);
+ if(results && results[1])
+ document.getElementById('ifr').src = results[1];
+}
+
function checkAccept(f) {
if (f.accept.checked) {
window.returnValue = 6;
@@ -12,6 +19,7 @@ function resize() { var footer = document.getElementById('footer');
ifr.height = footer.offsetTop - ifr.offsetTop;
+ setInnerFrame();
}
window.onresize = resize;
|