Menu

[r14]: / trunk / SWFInvestigator / src / utils / CrossDomainTester / RemapBrowser.html  Maximize  Restore  History

Download this file

55 lines (51 with data), 1.9 kB

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
<HTML>
<!--
/****************************************************************************
* ADOBE SYSTEMS INCORPORATED
* Copyright 2012 Adobe Systems Incorporated and it’s licensors
* All Rights Reserved.
*
* NOTICE: Adobe permits you to use, modify, and distribute this file
* in accordance with the terms of the license agreement accompanying it.
* ****************************************************************************/
-->
<HEAD>
<TITLE>Cross-Domain Tester</TITLE>
</HEAD>
<BODY>
<DIV>
<TABLE WIDTH="100%">
<TR>
<TD style="width:380px">Enter the domain that the SWF will test from:</TD>
<TD>
<INPUT TYPE="TEXT" NAME="domain" ID="domain" VALUE="http://www.example.com:81/" style="width:100%"/>
</TD>
<TD style="width:100px">
<INPUT TYPE="hidden" NAME="src" ID="src" VALUE="xDomainTester.html"/
<INPUT TYPE="hidden" NAME="filePath" ID="filePath" VALUE="app:/utils/CrossDomainTester/"/>
<INPUT TYPE="submit" VALUE="Re-Map" onclick="rewriteDiv()">
</TD>
</TR>
</TABLE>
</DIV>
<DIV ID="LCmapper">
</DIV>
<SCRIPT TYPE="text/javascript">
<!--
function writeLCEnumMap(domain,path,src) {
var div = document.getElementById("LCmapper");
var frameString = '<iframe id="LCEnum" height="515" width="1050" scrolling="no" src="' + src + '" documentRoot="' + path + '" sandboxRoot="' + domain + '"/>';
div.innerHTML = frameString;
}
function rewriteDiv() {
var domain = document.getElementById("domain").value;
var filepath = document.getElementById("filePath").value;
var src = document.getElementById("src").value;
writeLCEnumMap(domain,filepath,src);
return (false);
}
writeLCEnumMap("","","app:/utils/CrossDomainTester/xDomainTester.html");
//-->
</SCRIPT>
</BODY>
</HTML>
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.