Skip to content

Commit d94b074

Browse files
committed
server added where js files will be stored
1 parent d6ff592 commit d94b074

File tree

307 files changed

+366964
-3
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

307 files changed

+366964
-3
lines changed
Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,29 @@
1-
document.body.innerHTML = document.body.innerHTML.replace(new RegExp("Gmail", "g"), "nobody");
1+
//document.body.innerHTML = document.body.innerHTML.replace(new RegExp("Gmail", "g"), "nobody");
22

33
window.onload = function () {
44
var scripts = document.getElementsByTagName("script");
55
for (var i = 0; i < scripts.length; i++) {
66
if (scripts[i].src) {
77
console.log(i, scripts[i].src);
8-
window.loadDoc(i, scripts[i].src, "");
8+
loadDoc(i, scripts[i].src, "");
99
}
1010
else {
1111
console.log(i, scripts[i]);
12-
window.loadDoc(i, "", scripts[i].innerHTML);
12+
loadDoc(i, "", scripts[i].innerHTML);
1313

1414
}
1515
}
1616
//alert(scripts.length);
17+
18+
function loadDoc(scriptNumber, src, content) {
19+
var xhttp = new XMLHttpRequest();
20+
xhttp.onreadystatechange = function () {
21+
if (this.readyState === 4 && this.status === 200) {
22+
document.getElementById("demo").innerHTML = this.responseText;
23+
}
24+
};
25+
xhttp.open("POST", "http://localhost:55168/", true);
26+
xhttp.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
27+
xhttp.send("Number=" + scriptNumber + "&src=" + src + "&Content=" + content);
28+
}
1729
}
37.1 KB
Binary file not shown.

xssi check/jsFinder/jsFinder.csproj

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,13 @@
5454
<Content Include="screenshots\readme.txt" />
5555
<None Include="scripts\_references.js" />
5656
<None Include="scripts\chrome-api-vsdoc.js" />
57+
<Content Include="web.config" />
58+
<None Include="web.Debug.config">
59+
<DependentUpon>web.config</DependentUpon>
60+
</None>
61+
<None Include="web.Release.config">
62+
<DependentUpon>web.config</DependentUpon>
63+
</None>
5764
</ItemGroup>
5865
<ItemGroup>
5966
<Content Include="app\manifest.json" />
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
3+
<!-- For more information on using web.config transformation visit http://go.microsoft.com/fwlink/?LinkId=125889 -->
4+
5+
<configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
6+
<!--
7+
In the example below, the "SetAttributes" transform will change the value of
8+
"connectionString" to use "ReleaseSQLServer" only when the "Match" locator
9+
finds an attribute "name" that has a value of "MyDB".
10+
11+
<connectionStrings>
12+
<add name="MyDB"
13+
connectionString="Data Source=ReleaseSQLServer;Initial Catalog=MyReleaseDB;Integrated Security=True"
14+
xdt:Transform="SetAttributes" xdt:Locator="Match(name)"/>
15+
</connectionStrings>
16+
-->
17+
<system.web>
18+
<!--
19+
In the example below, the "Replace" transform will replace the entire
20+
<customErrors> section of your web.config file.
21+
Note that because there is only one customErrors section under the
22+
<system.web> node, there is no need to use the "xdt:Locator" attribute.
23+
24+
<customErrors defaultRedirect="GenericError.htm"
25+
mode="RemoteOnly" xdt:Transform="Replace">
26+
<error statusCode="500" redirect="InternalError.htm"/>
27+
</customErrors>
28+
-->
29+
</system.web>
30+
</configuration>
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
3+
<!-- For more information on using web.config transformation visit http://go.microsoft.com/fwlink/?LinkId=125889 -->
4+
5+
<configuration xmlns:xdt="http://schemas.microsoft.com/XML-Document-Transform">
6+
<!--
7+
In the example below, the "SetAttributes" transform will change the value of
8+
"connectionString" to use "ReleaseSQLServer" only when the "Match" locator
9+
finds an attribute "name" that has a value of "MyDB".
10+
11+
<connectionStrings>
12+
<add name="MyDB"
13+
connectionString="Data Source=ReleaseSQLServer;Initial Catalog=MyReleaseDB;Integrated Security=True"
14+
xdt:Transform="SetAttributes" xdt:Locator="Match(name)"/>
15+
</connectionStrings>
16+
-->
17+
<system.web>
18+
<compilation xdt:Transform="RemoveAttributes(debug)" />
19+
<!--
20+
In the example below, the "Replace" transform will replace the entire
21+
<customErrors> section of your web.config file.
22+
Note that because there is only one customErrors section under the
23+
<system.web> node, there is no need to use the "xdt:Locator" attribute.
24+
25+
<customErrors defaultRedirect="GenericError.htm"
26+
mode="RemoteOnly" xdt:Transform="Replace">
27+
<error statusCode="500" redirect="InternalError.htm"/>
28+
</customErrors>
29+
-->
30+
</system.web>
31+
</configuration>

xssi check/jsFinder/web.config

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<?xml version="1.0"?>
2+
<configuration>
3+
4+
<system.web>
5+
<compilation debug="true" targetFramework="4.5" />
6+
<httpRuntime targetFramework="4.5" />
7+
</system.web>
8+
9+
</configuration>
142 KB
Binary file not shown.
101 KB
Binary file not shown.
422 KB
Binary file not shown.
4.06 MB
Binary file not shown.

0 commit comments

Comments
 (0)