Check in current version of the site. Obviously needs some work done...
This commit is contained in:
commit
8e22a1c073
16 changed files with 72306 additions and 0 deletions
BIN
22898.png
Normal file
BIN
22898.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.8 KiB |
6
405.php
Normal file
6
405.php
Normal file
|
@ -0,0 +1,6 @@
|
|||
<?php
|
||||
$code = 405;
|
||||
$text = "E-Only URL Not Allowed";
|
||||
$protocol = (isset($_SERVER['SERVER_PROTOCOL']) ? $_SERVER['SERVER_PROTOCOL'] : 'HTTP/1.0');
|
||||
header($protocol . ' ' . $code . ' ' . $text);
|
||||
?>
|
1694
PiwikTracker.php
Normal file
1694
PiwikTracker.php
Normal file
File diff suppressed because it is too large
Load diff
74
aboutNetError.css
Normal file
74
aboutNetError.css
Normal file
|
@ -0,0 +1,74 @@
|
|||
/* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
@import url("common.css");
|
||||
|
||||
body {
|
||||
display: flex;
|
||||
box-sizing: padding-box;
|
||||
min-height: 100vh;
|
||||
padding: 0 48px;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
ul, ol {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
-moz-margin-start: 1em;
|
||||
}
|
||||
|
||||
ul > li, ol > li {
|
||||
margin-bottom: .5em;
|
||||
}
|
||||
|
||||
ul {
|
||||
list-style: disc;
|
||||
}
|
||||
|
||||
#errorPageContainer {
|
||||
min-width: 320px;
|
||||
max-width: 512px;
|
||||
}
|
||||
|
||||
#errorTitleText {
|
||||
background: url("22898.png") left 0 no-repeat;
|
||||
background-size: 1.2em;
|
||||
-moz-margin-start: -2em;
|
||||
-moz-padding-start: 2em;
|
||||
}
|
||||
|
||||
#errorTitleText[sslv3] {
|
||||
background-image: url("aboutNetError_alert.svg");
|
||||
}
|
||||
|
||||
#errorTitleText:-moz-dir(rtl) {
|
||||
background-position: right 0;
|
||||
}
|
||||
|
||||
#errorTryAgain {
|
||||
margin-top: 1.2em;
|
||||
min-width: 150px
|
||||
}
|
||||
|
||||
#errorContainer {
|
||||
display: none;
|
||||
}
|
||||
|
||||
@media (max-width: 675px) {
|
||||
#errorTitleText {
|
||||
padding-top: 0;
|
||||
background-image: none;
|
||||
-moz-padding-start: 0;
|
||||
-moz-margin-start: 0;
|
||||
}
|
||||
}
|
||||
|
||||
/* Pressing the retry button will cause the cursor to flicker from a pointer to
|
||||
* not-allowed. Override the disabled cursor behaviour since we will never show
|
||||
* the button disabled as the initial state. */
|
||||
button:disabled {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
65541
aboutNetError_info.svg
Normal file
65541
aboutNetError_info.svg
Normal file
File diff suppressed because it is too large
Load diff
After Width: | Height: | Size: 3.8 MiB |
3411
chrome.php
Normal file
3411
chrome.php
Normal file
File diff suppressed because one or more lines are too long
658
common.css
Normal file
658
common.css
Normal file
|
@ -0,0 +1,658 @@
|
|||
/* - This Source Code Form is subject to the terms of the Mozilla Public
|
||||
- License, v. 2.0. If a copy of the MPL was not distributed with this file,
|
||||
- You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
@namespace html "http://www.w3.org/1999/xhtml";
|
||||
@namespace xul "http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul";
|
||||
|
||||
html|body,
|
||||
xul|page {
|
||||
font: message-box;
|
||||
-moz-appearance: none;
|
||||
background-color: #f1f1f1;
|
||||
color: #424e5a;
|
||||
}
|
||||
|
||||
html|body {
|
||||
font-size: 15px;
|
||||
font-weight: normal;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
html|h1 {
|
||||
font-size: 2.5em;
|
||||
font-weight: lighter;
|
||||
line-height: 1.2;
|
||||
margin: 0;
|
||||
margin-bottom: .5em;
|
||||
}
|
||||
|
||||
xul|caption {
|
||||
-moz-appearance: none;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
xul|caption > xul|label {
|
||||
font-size: 1.3rem;
|
||||
font-weight: bold;
|
||||
line-height: 22px;
|
||||
margin: 0 !important;
|
||||
}
|
||||
|
||||
*|*.main-content {
|
||||
padding: 40px 48px 48px;
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
xul|prefpane > xul|*.content-box {
|
||||
overflow: visible;
|
||||
}
|
||||
|
||||
/* groupboxes */
|
||||
|
||||
xul|groupbox {
|
||||
-moz-appearance: none;
|
||||
border: none;
|
||||
margin-top: 15px;
|
||||
margin-bottom: 15px;
|
||||
-moz-margin-end: 0;
|
||||
-moz-padding-start: 0;
|
||||
-moz-padding-end: 0;
|
||||
font-size: 1.25rem;
|
||||
}
|
||||
|
||||
xul|groupbox xul|label {
|
||||
/* !important needed to override toolkit !important rule */
|
||||
-moz-margin-start: 0 !important;
|
||||
-moz-margin-end: 0 !important;
|
||||
}
|
||||
|
||||
/* tabpanels and tabs */
|
||||
|
||||
xul|tabpanels {
|
||||
-moz-appearance: none;
|
||||
font-size: 1.25rem;
|
||||
line-height: 22px;
|
||||
border: none;
|
||||
padding: 0;
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
xul|tabs {
|
||||
margin-bottom: 15px;
|
||||
border-top: 1px solid #c1c1c1;
|
||||
border-bottom: 1px solid #c1c1c1;
|
||||
background-color: #fbfbfb;
|
||||
}
|
||||
|
||||
xul|*.tabs-left,
|
||||
xul|*.tabs-right {
|
||||
border-bottom: none;
|
||||
}
|
||||
|
||||
xul|tab {
|
||||
-moz-appearance: none;
|
||||
margin-top: 0;
|
||||
padding: 0 20px;
|
||||
min-height: 44px;
|
||||
color: #424f5a;
|
||||
background-color: #fbfbfb;
|
||||
border-width: 0;
|
||||
transition: background-color 50ms ease 0s;
|
||||
}
|
||||
|
||||
xul|tab:hover {
|
||||
background-color: #ebebeb;
|
||||
}
|
||||
|
||||
xul|tab[selected] {
|
||||
background-color: #ebebeb;
|
||||
box-shadow: inset 0 -4px 0 0 #ff9500;
|
||||
}
|
||||
|
||||
xul|*.tab-text {
|
||||
font-size: 1.3rem;
|
||||
line-height: 22px;
|
||||
}
|
||||
|
||||
/* html buttons */
|
||||
|
||||
html|button {
|
||||
padding: 3px;
|
||||
/* override forms.css */
|
||||
font: inherit;
|
||||
}
|
||||
|
||||
/* xul buttons and menulists */
|
||||
|
||||
*|button,
|
||||
xul|colorpicker[type="button"],
|
||||
xul|menulist {
|
||||
-moz-appearance: none;
|
||||
height: 30px;
|
||||
color: #333;
|
||||
line-height: 20px;
|
||||
text-shadow: 0 1px 1px #fefffe;
|
||||
border: 1px solid #c1c1c1;
|
||||
-moz-border-top-colors: none !important;
|
||||
-moz-border-right-colors: none !important;
|
||||
-moz-border-bottom-colors: none !important;
|
||||
-moz-border-left-colors: none !important;
|
||||
border-radius: 2px;
|
||||
background-color: #fbfbfb;
|
||||
}
|
||||
|
||||
html|button:enabled:hover,
|
||||
xul|button:not([disabled="true"]):hover,
|
||||
xul|colorpicker[type="button"]:not([disabled="true"]):hover,
|
||||
xul|menulist:not([disabled="true"]):hover {
|
||||
background-color: #ebebeb;
|
||||
}
|
||||
|
||||
html|button:enabled:hover:active,
|
||||
xul|button:not([disabled="true"]):hover:active,
|
||||
xul|colorpicker[type="button"]:not([disabled="true"]):hover:active,
|
||||
xul|menulist[open="true"]:not([disabled="true"]) {
|
||||
background-color: #dadada;
|
||||
}
|
||||
|
||||
html|button:disabled,
|
||||
xul|button[disabled="true"],
|
||||
xul|colorpicker[type="button"][disabled="true"],
|
||||
xul|menulist[disabled="true"] {
|
||||
cursor: not-allowed;
|
||||
opacity: 0.5;
|
||||
}
|
||||
|
||||
xul|colorpicker[type="button"] {
|
||||
padding: 6px;
|
||||
width: 50px;
|
||||
}
|
||||
|
||||
xul|button > xul|*.button-box,
|
||||
xul|menulist > xul|*.menulist-label-box {
|
||||
padding-right: 10px !important;
|
||||
padding-left: 10px !important;
|
||||
}
|
||||
|
||||
xul|menulist > xul|*.menulist-label-box > xul|*.menulist-icon {
|
||||
-moz-margin-end: 5px;
|
||||
}
|
||||
|
||||
xul|button[type="menu"] > xul|*.button-box > xul|*.button-menu-dropmarker {
|
||||
-moz-appearance: none;
|
||||
margin: 1px 0;
|
||||
-moz-margin-start: 10px;
|
||||
padding: 0;
|
||||
width: 10px;
|
||||
height: 16px;
|
||||
border: none;
|
||||
background-color: transparent;
|
||||
list-style-image: url("chrome://global/skin/in-content/dropdown.png");
|
||||
}
|
||||
|
||||
xul|*.help-button {
|
||||
min-width: 30px;
|
||||
border-radius: 2px;
|
||||
border: 1px solid #c1c1c1;
|
||||
background-color: #ffcb00;
|
||||
background-image: none;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
xul|*.help-button:not([disabled="true"]):hover {
|
||||
background-color: #f4c200;
|
||||
background-image: none;
|
||||
}
|
||||
|
||||
xul|*.help-button:not([disabled="true"]):hover:active {
|
||||
background-color: #eaba00;
|
||||
background-image: none;
|
||||
}
|
||||
|
||||
xul|*.close-icon > xul|*.button-box,
|
||||
xul|*.help-button > xul|*.button-box {
|
||||
padding-top: 0;
|
||||
padding-bottom: 0;
|
||||
padding-right: 0 !important;
|
||||
padding-left: 0 !important;
|
||||
}
|
||||
|
||||
xul|*.help-button > xul|*.button-box > xul|*.button-icon {
|
||||
width: 26px;
|
||||
height: 26px;
|
||||
background-image: url("chrome://global/skin/in-content/help-glyph.png");
|
||||
background-position: center;
|
||||
}
|
||||
|
||||
@media (min-resolution: 2dppx) {
|
||||
xul|*.help-button > xul|*.button-box > xul|*.button-icon {
|
||||
background-size: 26px 26px;
|
||||
background-image: url("chrome://global/skin/in-content/help-glyph@2x.png");
|
||||
}
|
||||
}
|
||||
|
||||
xul|*.help-button > xul|*.button-box > xul|*.button-text {
|
||||
display: none;
|
||||
}
|
||||
|
||||
xul|*.spinbuttons-button {
|
||||
-moz-margin-start: 10px !important;
|
||||
-moz-margin-end: 2px !important;
|
||||
}
|
||||
|
||||
xul|*.spinbuttons-up {
|
||||
margin-top: 2px !important;
|
||||
border-radius: 1px 1px 0 0;
|
||||
}
|
||||
|
||||
xul|*.spinbuttons-down {
|
||||
margin-bottom: 2px !important;
|
||||
border-radius: 0 0 1px 1px;
|
||||
}
|
||||
|
||||
xul|*.spinbuttons-button > xul|*.button-box {
|
||||
padding: 1px 5px 2px !important;
|
||||
}
|
||||
|
||||
xul|*.spinbuttons-up > xul|*.button-box > xul|*.button-icon {
|
||||
list-style-image: url("chrome://global/skin/arrow/arrow-up.gif");
|
||||
}
|
||||
|
||||
xul|*.spinbuttons-up[disabled="true"] > xul|*.button-box > xul|*.button-icon {
|
||||
list-style-image: url("chrome://global/skin/arrow/arrow-up-dis.gif");
|
||||
}
|
||||
|
||||
xul|*.spinbuttons-down > xul|*.button-box > xul|*.button-icon {
|
||||
list-style-image: url("chrome://global/skin/arrow/arrow-dn.gif");
|
||||
}
|
||||
|
||||
xul|*.spinbuttons-down[disabled="true"] > xul|*.button-box > xul|*.button-icon {
|
||||
list-style-image: url("chrome://global/skin/arrow/arrow-dn-dis.gif");
|
||||
}
|
||||
|
||||
xul|menulist:not([editable="true"]) > xul|*.menulist-dropmarker {
|
||||
-moz-appearance: none;
|
||||
-moz-margin-end: 10px;
|
||||
padding: 0;
|
||||
border: none;
|
||||
background-color: transparent;
|
||||
list-style-image: url("chrome://global/skin/in-content/dropdown.png");
|
||||
}
|
||||
|
||||
xul|menulist[disabled="true"]:not([editable="true"]) > xul|*.menulist-dropmarker {
|
||||
list-style-image: url("chrome://global/skin/in-content/dropdown-disabled.png")
|
||||
}
|
||||
|
||||
@media (min-resolution: 2dppx) {
|
||||
xul|menulist:not([editable="true"]) > xul|*.menulist-dropmarker,
|
||||
xul|button[type="menu"] > xul|*.button-box > xul|*.button-menu-dropmarker {
|
||||
list-style-image: url("chrome://global/skin/in-content/dropdown@2x.png");
|
||||
}
|
||||
|
||||
xul|menulist[disabled="true"]:not([editable="true"]) > xul|*.menulist-dropmarker {
|
||||
list-style-image: url("chrome://global/skin/in-content/dropdown-disabled@2x.png")
|
||||
}
|
||||
|
||||
xul|menulist:not([editable="true"]) > xul|*.menulist-dropmarker > xul|*.dropmarker-icon,
|
||||
xul|button[type="menu"] > xul|*.button-box > xul|*.button-menu-dropmarker > xul|*.dropmarker-icon {
|
||||
width: 10px;
|
||||
height: 16px;
|
||||
}
|
||||
}
|
||||
|
||||
xul|menulist > xul|menupopup,
|
||||
xul|button[type="menu"] > xul|menupopup {
|
||||
-moz-appearance: none;
|
||||
border: 1px solid rgba(23,50,77,0.4);
|
||||
border-radius: 2px;
|
||||
background-color: #fff;
|
||||
}
|
||||
|
||||
xul|menulist > xul|menupopup xul|menu,
|
||||
xul|menulist > xul|menupopup xul|menuitem,
|
||||
xul|button[type="menu"] > xul|menupopup xul|menu,
|
||||
xul|button[type="menu"] > xul|menupopup xul|menuitem {
|
||||
-moz-appearance: none;
|
||||
font-size: 1.25rem;
|
||||
line-height: 22px;
|
||||
height: 40px;
|
||||
color: #333;
|
||||
-moz-padding-start: 10px;
|
||||
-moz-padding-end: 30px;
|
||||
}
|
||||
|
||||
xul|menulist > xul|menupopup > xul|menu[_moz-menuactive="true"],
|
||||
xul|menulist > xul|menupopup > xul|menuitem[_moz-menuactive="true"],
|
||||
xul|button[type="menu"] > xul|menupopup > xul|menu[_moz-menuactive="true"],
|
||||
xul|button[type="menu"] > xul|menupopup > xul|menuitem[_moz-menuactive="true"] {
|
||||
color: #333;
|
||||
background-color: transparent;
|
||||
background-image: linear-gradient(rgba(76,177,255,0.25), rgba(23,146,229,0.25));
|
||||
}
|
||||
|
||||
xul|menulist > xul|menupopup > xul|menu[selected="true"],
|
||||
xul|menulist > xul|menupopup > xul|menuitem[selected="true"],
|
||||
xul|button[type="menu"] > xul|menupopup > xul|menu[selected="true"],
|
||||
xul|button[type="menu"] > xul|menupopup > xul|menuitem[selected="true"] {
|
||||
color: #fff;
|
||||
background-image: linear-gradient(#4cb1ff, #1792e5);
|
||||
}
|
||||
|
||||
xul|menulist > xul|menupopup xul|menuseparator,
|
||||
xul|button[type="menu"] > xul|menupopup xul|menuseparator {
|
||||
-moz-appearance: none;
|
||||
margin-top: 2px;
|
||||
margin-bottom: 2px;
|
||||
padding: 0;
|
||||
border-top: 1px solid rgba(23,50,77,0.4);
|
||||
border-bottom: none;
|
||||
}
|
||||
|
||||
/* textboxes */
|
||||
|
||||
*|textbox {
|
||||
-moz-appearance: none;
|
||||
height: 30px;
|
||||
color: #333;
|
||||
line-height: 20px;
|
||||
text-shadow: 0 1px 1px #fefffe;
|
||||
padding-right: 10px;
|
||||
padding-left: 10px;
|
||||
border: 1px solid #c1c1c1;
|
||||
-moz-border-top-colors: none !important;
|
||||
-moz-border-right-colors: none !important;
|
||||
-moz-border-bottom-colors: none !important;
|
||||
-moz-border-left-colors: none !important;
|
||||
border-radius: 2px;
|
||||
background-color: #fff;
|
||||
}
|
||||
|
||||
html|textbox:focus,
|
||||
xul|textbox[focused] {
|
||||
border-color: #0095dd;
|
||||
}
|
||||
|
||||
html|textbox:disabled,
|
||||
xul|textbox[disabled="true"] {
|
||||
opacity: 0.5;
|
||||
}
|
||||
|
||||
/* Links */
|
||||
|
||||
html|a,
|
||||
xul|*.text-link,
|
||||
xul|*.inline-link {
|
||||
font-size: 1.25rem;
|
||||
line-height: 22px;
|
||||
color: #0095dd;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
html|a:hover,
|
||||
xul|*.text-link:hover,
|
||||
xul|*.inline-link:hover {
|
||||
color: #4cb1ff;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
html|a:hover:active,
|
||||
xul|*.text-link:hover:active,
|
||||
xul|*.inline-link:hover:active {
|
||||
color: #ff9500;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
/* Checkboxes and radio buttons */
|
||||
|
||||
xul|checkbox {
|
||||
-moz-margin-start: 0;
|
||||
}
|
||||
|
||||
xul|*.checkbox-check {
|
||||
-moz-appearance: none;
|
||||
width: 23px;
|
||||
height: 23px;
|
||||
border-radius: 2px;
|
||||
border: 1px solid #c1c1c1;
|
||||
-moz-margin-end: 10px;
|
||||
background-color: #f1f1f1;
|
||||
background-image: linear-gradient(#fff, rgba(255,255,255,0.8));
|
||||
background-position: center center;
|
||||
background-repeat: no-repeat;
|
||||
box-shadow: 0 1px 1px 0 #fff, inset 0 2px 0 0 rgba(0,0,0,0.03);
|
||||
}
|
||||
|
||||
xul|checkbox:not([disabled="true"]):hover > xul|*.checkbox-check {
|
||||
border-color: #0095dd;
|
||||
}
|
||||
|
||||
xul|*.checkbox-check[checked] {
|
||||
background-image: url("chrome://global/skin/in-content/check.png"),
|
||||
/* !important needed to override toolkit !important rule */
|
||||
linear-gradient(#fff, rgba(255,255,255,0.8)) !important;
|
||||
}
|
||||
|
||||
xul|checkbox[disabled="true"] > xul|*.checkbox-check {
|
||||
opacity: 0.5;
|
||||
}
|
||||
|
||||
xul|*.checkbox-label-box {
|
||||
-moz-margin-start: -1px; /* negative margin for the transparent border */
|
||||
-moz-padding-start: 0;
|
||||
}
|
||||
|
||||
@media (min-resolution: 2dppx) {
|
||||
xul|*.checkbox-check[checked] {
|
||||
background-size: 12px 12px, auto;
|
||||
background-image: url("chrome://global/skin/in-content/check@2x.png"),
|
||||
linear-gradient(#fff, rgba(255,255,255,0.8)) !important;
|
||||
}
|
||||
}
|
||||
|
||||
xul|richlistitem > xul|*.checkbox-check {
|
||||
margin: 3px 6px;
|
||||
}
|
||||
|
||||
xul|*.radio-check {
|
||||
-moz-appearance: none;
|
||||
width: 23px;
|
||||
height: 23px;
|
||||
border: 1px solid #c1c1c1;
|
||||
border-radius: 50%;
|
||||
-moz-margin-end: 10px;
|
||||
background-color: #f1f1f1;
|
||||
background-image: linear-gradient(#fff, rgba(255,255,255,0.80));
|
||||
box-shadow: 0 1px 1px 0 #fff, inset 0 2px 0 0 rgba(0,0,0,0.03);
|
||||
}
|
||||
|
||||
xul|radio:not([disabled="true"]):hover > xul|*.radio-check {
|
||||
border-color: #0095dd;
|
||||
}
|
||||
|
||||
xul|*.radio-check[selected] {
|
||||
background-image: radial-gradient(circle, rgb(23,146,229),
|
||||
rgb(76,177,255) 5.5px, rgba(76,177,255,0.2) 6px,
|
||||
transparent 6px),
|
||||
linear-gradient(rgb(255,255,255), rgba(255,255,255,0.8));
|
||||
}
|
||||
|
||||
xul|radio[disabled="true"] > xul|*.radio-check {
|
||||
opacity: 0.5;
|
||||
}
|
||||
|
||||
xul|*.radio-label-box {
|
||||
-moz-margin-start: -1px; /* negative margin for the transparent border */
|
||||
-moz-margin-end: 10px;
|
||||
-moz-padding-start: 0;
|
||||
}
|
||||
|
||||
/* Category List */
|
||||
|
||||
xul|*#categories {
|
||||
-moz-appearance: none;
|
||||
background-color: #424f5a;
|
||||
padding-top: 39px;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
xul|*.category {
|
||||
-moz-appearance: none;
|
||||
color: #c1c1c1;
|
||||
-moz-border-end-width: 0;
|
||||
-moz-padding-start: 15px;
|
||||
-moz-padding-end: 21px;
|
||||
min-height: 40px;
|
||||
transition: background-color 150ms;
|
||||
}
|
||||
|
||||
xul|*.category:hover {
|
||||
background-color: #5e6972;
|
||||
}
|
||||
|
||||
xul|*.category[selected] {
|
||||
background-color: #343f48;
|
||||
color: #f2f2f2;
|
||||
box-shadow: inset 4px 0 0 0 #ff9500;
|
||||
}
|
||||
|
||||
xul|*#categories[keyboard-navigation="true"]:-moz-focusring > xul|*.category[current] {
|
||||
border-top: 1px #ffffff dotted;
|
||||
border-bottom: 1px #ffffff dotted;
|
||||
}
|
||||
|
||||
*|*.category-name {
|
||||
line-height: 22px;
|
||||
font-size: 1.25rem;
|
||||
padding-bottom: 2px;
|
||||
-moz-padding-start: 9px;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
*|*.category-icon {
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
}
|
||||
|
||||
/* header */
|
||||
|
||||
*|*.header {
|
||||
border-bottom: 1px solid #c8c8c8;
|
||||
margin-bottom: 15px;
|
||||
padding-bottom: 15px;
|
||||
}
|
||||
|
||||
*|*.header-name {
|
||||
font-size: 2.5rem;
|
||||
font-weight: normal;
|
||||
line-height: 40px;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
/* File fields */
|
||||
|
||||
xul|filefield {
|
||||
-moz-appearance: none;
|
||||
background-color: transparent;
|
||||
border: none;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
xul|*.fileFieldContentBox {
|
||||
background-color: transparent;
|
||||
}
|
||||
|
||||
xul|*.fileFieldIcon {
|
||||
-moz-margin-start: 10px;
|
||||
-moz-margin-end: 0;
|
||||
}
|
||||
|
||||
xul|*.fileFieldLabel {
|
||||
-moz-margin-start: -26px;
|
||||
-moz-padding-start: 36px;
|
||||
}
|
||||
|
||||
xul|textbox:-moz-locale-dir(rtl),
|
||||
xul|*.fileFieldLabel:-moz-locale-dir(rtl),
|
||||
xul|textbox + xul|button:-moz-locale-dir(ltr),
|
||||
xul|filefield + xul|button:-moz-locale-dir(ltr) {
|
||||
border-top-left-radius: 0;
|
||||
border-bottom-left-radius: 0;
|
||||
}
|
||||
|
||||
xul|textbox:-moz-locale-dir(ltr),
|
||||
xul|*.fileFieldLabel:-moz-locale-dir(ltr),
|
||||
xul|textbox + xul|button:-moz-locale-dir(rtl),
|
||||
xul|filefield + xul|button:-moz-locale-dir(rtl) {
|
||||
border-top-right-radius: 0;
|
||||
border-bottom-right-radius: 0;
|
||||
}
|
||||
|
||||
xul|textbox + xul|button,
|
||||
xul|filefield + xul|button {
|
||||
-moz-border-start: none;
|
||||
}
|
||||
|
||||
xul|tab[selected] {
|
||||
/* Override styles for tab[selected] from
|
||||
toolkit/themes/linux/global/tabbox.css */
|
||||
margin-bottom: 0;
|
||||
border-bottom-left-radius: 0;
|
||||
border-bottom-right-radius: 0;
|
||||
}
|
||||
|
||||
xul|button,
|
||||
xul|colorpicker[type="button"],
|
||||
xul|menulist {
|
||||
margin: 2px 4px;
|
||||
}
|
||||
|
||||
xul|button > xul|*.button-box,
|
||||
xul|menulist > xul|*.menulist-label-box {
|
||||
-moz-appearance: none;
|
||||
}
|
||||
|
||||
xul|button[type="menu"] > xul|*.button-box > xul|*.button-menu-dropmarker {
|
||||
-moz-appearance: none !important;
|
||||
}
|
||||
|
||||
xul|*.help-button > xul|*.button-box > xul|*.button-icon {
|
||||
-moz-margin-end: 0;
|
||||
}
|
||||
|
||||
xul|menulist {
|
||||
font-size: inherit;
|
||||
}
|
||||
|
||||
xul|menulist:not([editable="true"]) > xul|*.menulist-dropmarker {
|
||||
display: -moz-box;
|
||||
margin-top: 6px;
|
||||
margin-bottom: 6px;
|
||||
}
|
||||
|
||||
xul|checkbox {
|
||||
-moz-binding: url("chrome://global/content/bindings/checkbox.xml#checkbox");
|
||||
-moz-box-align: center;
|
||||
}
|
||||
|
||||
xul|radio {
|
||||
-moz-binding: url("chrome://global/content/bindings/radio.xml#radio");
|
||||
-moz-box-align: center;
|
||||
-moz-margin-start: 0;
|
||||
}
|
||||
|
||||
xul|*.radio-label-box {
|
||||
-moz-appearance: none;
|
||||
}
|
||||
|
||||
xul|*.numberbox-input-box {
|
||||
-moz-appearance: none;
|
||||
border-width: 0;
|
||||
}
|
||||
|
||||
html|a:-moz-focusring,
|
||||
xul|*.text-link:-moz-focusring,
|
||||
xul|*.inline-link:-moz-focusring {
|
||||
border: 1px dotted -moz-DialogText;
|
||||
}
|
||||
|
39
firefox.php
Normal file
39
firefox.php
Normal file
|
@ -0,0 +1,39 @@
|
|||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<title>Eeeeeeeeeeeeeeeeeeeh.</title>
|
||||
<link rel="stylesheet" href="aboutNetError.css" type="text/css" media="all" />
|
||||
<!-- If the location of the favicon is changed here, the FAVICON_ERRORPAGE_URL symbol in
|
||||
toolkit/components/places/src/nsFaviconService.h should be updated. -->
|
||||
<link rel="icon" type="image/png" id="favicon" href="warning-16.png"/>
|
||||
|
||||
</head>
|
||||
|
||||
<body dir="&locale.dir;">
|
||||
|
||||
<!-- PAGE CONTAINER (for styling purposes only) -->
|
||||
<div id="errorPageContainer">
|
||||
|
||||
<!-- Error Title -->
|
||||
<div id="errorTitle">
|
||||
<h1 id="errorTitleText">You broke the Internet.</h1>
|
||||
</div>
|
||||
|
||||
<!-- LONG CONTENT (the section most likely to require scrolling) -->
|
||||
<div id="errorLongContent">
|
||||
|
||||
<!-- Short Description -->
|
||||
<div id="errorShortDesc">
|
||||
<p id="errorShortDescText">This URL is too long. Seriously.</p>
|
||||
</div>
|
||||
|
||||
<!-- Long Description (Note: See netError.dtd for used XHTML tags) -->
|
||||
<div id="errorLongDesc">Go away. Right now. Please. I can't even... It's so...</div>
|
||||
|
||||
<!-- Retry Button -->
|
||||
<button id="errorTryAgain" autocomplete="off" onclick="window.alert('You can\'t make me do this! Noooooo!');window.location.reload();">No, I'm not reloading this. Seriously.</button>
|
||||
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
31
ie.css
Normal file
31
ie.css
Normal file
|
@ -0,0 +1,31 @@
|
|||
body {
|
||||
background-repeat: repeat-x;
|
||||
background-color: white;
|
||||
font-family: "Segoe UI", "verdana", "arial";
|
||||
margin: 0em;
|
||||
color: #575757;
|
||||
}
|
||||
.mainContent {
|
||||
margin-top: 80px;
|
||||
width: 700px;
|
||||
margin-left: 120px;
|
||||
margin-right: 120px;
|
||||
}
|
||||
.title {
|
||||
color: #2778ec;
|
||||
font-size: 38pt;
|
||||
font-weight: 300;
|
||||
vertical-align: bottom;
|
||||
margin-bottom: 20px;
|
||||
font-family: "Segoe UI", "verdana";
|
||||
position: relative;
|
||||
}
|
||||
.taskSection {
|
||||
margin-top: 20px;
|
||||
margin-bottom: 40px;
|
||||
position: relative;
|
||||
}
|
||||
.diagnoseButton {
|
||||
outline: none;
|
||||
font-size: 9pt;
|
||||
}
|
25
ie.php
Normal file
25
ie.php
Normal file
|
@ -0,0 +1,25 @@
|
|||
<!DOCTYPE HTML>
|
||||
<!DOCTYPE html PUBLIC "" ""><HTML><HEAD><META content="IE=11.0000"
|
||||
http-equiv="X-UA-Compatible">
|
||||
<LINK href="ie.css" rel="stylesheet"
|
||||
type="text/css">
|
||||
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<TITLE>Way too long.</TITLE>
|
||||
<SCRIPT language="javascript" src="ie1.js" type="text/javascript"></SCRIPT>
|
||||
|
||||
<SCRIPT language="javascript" src="ie2.js" type="text/javascript"></SCRIPT>
|
||||
|
||||
<META name="GENERATOR" content="MSHTML 11.00.9600.16384"></HEAD>
|
||||
<BODY onload="javascript:getInfo();">
|
||||
<DIV class="mainContent" id="contentContainer">
|
||||
<DIV class="title" id="mainTitle">Way too long.</DIV>
|
||||
<DIV class="taskSection" id="taskSection">
|
||||
<UL class="tasks" id="cantDisplayTasks">
|
||||
<LI id="task1">Internet Explorer can't handle such long URLs.
|
||||
</LI>
|
||||
<LI id="task1-2">In fact, we never thought we would ever need more than 100 bytes memory for a domain name.</LI>
|
||||
<LI id="task1-3">Do yourself a favor and replace Windows with Linux.</LI></UL>
|
||||
</DIV>
|
||||
<DIV><BUTTON class="diagnoseButton" id="diagnose" onclick="javascript:diagnoseConnectionAndRefresh(); return false;">
|
||||
Quick Fix</BUTTON></DIV></DIV></BODY></HTML>
|
||||
|
93
ie1.js
Normal file
93
ie1.js
Normal file
|
@ -0,0 +1,93 @@
|
|||
//Split out for localization.
|
||||
|
||||
var L_GOBACK_TEXT = "Gehen Sie zur vorherigen Seite.";
|
||||
|
||||
var L_REFRESH_TEXT = "Aktualisieren Sie die Seite.";
|
||||
|
||||
var L_MOREINFO_TEXT = "Weitere Informationen";
|
||||
|
||||
var L_OFFLINE_USERS_TEXT = "Für Offlinebenutzer";
|
||||
|
||||
var L_RELOAD_TEXT = "Geben Sie die Adresse erneut ein.";
|
||||
|
||||
var L_HIDE_HOTKEYS_TEXT = "Tastenkombinationen für Registerkarten ausblenden";
|
||||
|
||||
var L_SHOW_HOTKEYS_TEXT = "Weitere Tastenkombinationen für Registerkarten einblenden";
|
||||
|
||||
var L_CONNECTION_OFF_TEXT = "Sie sind nicht mit dem Internet verbunden. Überprüfen Sie die Internetverbindung.";
|
||||
|
||||
var L_CONNECTION_ON_TEXT = "Sie sind anscheinend mit dem Internet verbunden, aber Sie sollten möglicherweise versuchen, die Verbindung zum Internet erneut herzustellen.";
|
||||
|
||||
|
||||
|
||||
//used by invalidcert.js
|
||||
|
||||
var L_CertUnknownCA_TEXT = "Das Sicherheitszertifikat dieser Website wurde nicht von einer vertrauenswürdigen Zertifizierungsstelle ausgestellt.";
|
||||
|
||||
var L_CertExpired_TEXT = "Das Sicherheitszertifikat dieser Website ist entweder abgelaufen oder noch nicht gültig.";
|
||||
|
||||
var L_CertCNMismatch_TEXT = "Das Sicherheitszertifikat dieser Website wurde für eine andere Adresse der Website ausgestellt.";
|
||||
|
||||
var L_CertRevoked_TEXT = "Das Zertifikat dieser Organisation wurde gesperrt.";
|
||||
|
||||
var L_CertSigFailed_TEXT = "Das Sicherheitszertifikat dieser Website ist nicht sicher.";
|
||||
|
||||
|
||||
|
||||
var L_PhishingThreat_TEXT = "Bedrohung durch Phishing: Bei diese Site handelt es sich um eine Phishingwebsite, die eine vertrauenswürdige Website imitiert. Hierdurch sollen Sie dazu gebracht werden, persönliche oder Finanzinformationen preiszugeben.";
|
||||
|
||||
var L_MalwareThreat_TEXT = "Bedrohung durch Malware: Diese Site enthält Links zu Viren oder anderen Softwareprogrammen, durch die persönliche Informationen, die auf Ihrem Computer gespeichert sind oder die Sie eingeben, für unbefugte Personen offengelegt werden können.";
|
||||
|
||||
|
||||
|
||||
var L_TopFrameUnsafe_TEXT = "Diese Website wurde als unsicher gemeldet.";
|
||||
|
||||
var L_ContentUnsafe_TEXT = "Inhalt auf dieser Website wurde als unsicher gemeldet.";
|
||||
|
||||
var L_Content_TEXT = "Gehostet von: ";
|
||||
|
||||
|
||||
|
||||
var L_ACR_Title_TEXT = "Sie konnten nicht zu %s wechseln.";
|
||||
|
||||
var L_ACR_TitleFallback_TEXT = "Wechsel zur zuvor angezeigten Seite konnte nicht durchgeführt werden.";
|
||||
|
||||
var L_ACR_ReturnTo_TEXT = "Zurück zu %s";
|
||||
|
||||
var L_ACR_ReturnToFallback_TEXT = "Zur zuvor angezeigten Seite zurückkehren";
|
||||
|
||||
var L_ACR_GoHome_TEXT = "Zur Startseite wechseln";
|
||||
|
||||
|
||||
|
||||
//used by new dnserror.htm
|
||||
|
||||
var L_INTERNET_NOT_CONNECTED_TEXT = "Sie sind mit keinem Netzwerk verbunden.";
|
||||
|
||||
var L_INTERNET_CONNECTED_TEXT = "Way too long.";
|
||||
|
||||
|
||||
|
||||
var L_TLS_SSL_TEXT = "Vergewissern Sie sich unter „Extras“ > „Internetoptionen“ > „Erweitert“ > „Einstellungen“ > „Sicherheit“, dass das TLS- und das SSL-Protokoll aktiviert sind.";
|
||||
|
||||
|
||||
|
||||
// Used by IM DNS error page
|
||||
|
||||
var L_THIS_PAGE_CANT_BE_DISPLAYED_TEXT = "Way too long.";
|
||||
|
||||
var L_YOU_ARE_NOT_CONNECTED_TEXT = "Sie sind nicht verbunden.";
|
||||
|
||||
|
||||
|
||||
// Used by IExtensionValidation error page
|
||||
|
||||
var L_ActiveXUnsafe_TEXT = "„%s“ hat diese Website blockiert.";
|
||||
|
||||
var L_ActiveXUnsafe_Frame_TEXT = "„%s“ hat Inhalt auf dieser Website blockiert.";
|
||||
|
||||
var L_ActiveXUnsafe_Explain_TEXT = "„%s“ hat diese Website blockiert, da sie möglicherweise eine Gefahr für Ihren PC oder Ihre Privatsphäre darstellt.";
|
||||
|
||||
var L_ActiveXUnsafe_Hosted_TEXT = "Host: %s";
|
||||
|
||||
|
651
ie2.js
Normal file
651
ie2.js
Normal file
|
@ -0,0 +1,651 @@
|
|||
|
||||
|
||||
function isExternalUrlSafeForNavigation(urlStr)
|
||||
|
||||
{
|
||||
|
||||
var regEx = new RegExp("^(http(s?)|ftp|file)://", "i");
|
||||
|
||||
return regEx.exec(urlStr);
|
||||
|
||||
}
|
||||
|
||||
function clickRefresh()
|
||||
|
||||
{
|
||||
|
||||
var location = window.location.href;
|
||||
|
||||
var poundIndex = location.indexOf('#');
|
||||
|
||||
if (poundIndex != -1 && poundIndex+1 < location.length && isExternalUrlSafeForNavigation(location.substring(poundIndex+1)))
|
||||
|
||||
{
|
||||
|
||||
window.location.replace(location.substring(poundIndex+1));
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
function navCancelInit()
|
||||
|
||||
{
|
||||
|
||||
var location = window.location.href;
|
||||
|
||||
var poundIndex = location.indexOf('#');
|
||||
|
||||
if (poundIndex != -1 && poundIndex+1 < location.length && isExternalUrlSafeForNavigation(location.substring(poundIndex+1)))
|
||||
|
||||
{
|
||||
|
||||
var bElement = document.createElement("A");
|
||||
|
||||
bElement.innerText = L_REFRESH_TEXT;
|
||||
|
||||
bElement.href = 'javascript:clickRefresh()';
|
||||
|
||||
navCancelContainer.appendChild(bElement);
|
||||
|
||||
}
|
||||
|
||||
else
|
||||
|
||||
{
|
||||
|
||||
var textNode = document.createTextNode(L_RELOAD_TEXT);
|
||||
|
||||
navCancelContainer.appendChild(textNode);
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
function expandCollapse(elem, changeImage)
|
||||
|
||||
{
|
||||
|
||||
if (document.getElementById)
|
||||
|
||||
{
|
||||
|
||||
ecBlock = document.getElementById(elem);
|
||||
|
||||
if (ecBlock != undefined && ecBlock != null)
|
||||
|
||||
{
|
||||
|
||||
if (changeImage)
|
||||
|
||||
{
|
||||
|
||||
elemImage = document.getElementById(elem + "Image");
|
||||
|
||||
}
|
||||
|
||||
if (!changeImage || (elemImage != undefined && elemImage != null))
|
||||
|
||||
{
|
||||
|
||||
if (ecBlock.currentStyle.display == "none" || ecBlock.currentStyle.display == null || ecBlock.currentStyle.display == "")
|
||||
|
||||
{
|
||||
|
||||
ecBlock.style.display = "block";
|
||||
|
||||
if (changeImage)
|
||||
|
||||
{
|
||||
|
||||
elemImage.src = "up.png";
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
else if (ecBlock.currentStyle.display == "block")
|
||||
|
||||
{
|
||||
|
||||
ecBlock.style.display = "none";
|
||||
|
||||
if (changeImage)
|
||||
|
||||
{
|
||||
|
||||
elemImage.src = "down.png";
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
else
|
||||
|
||||
{
|
||||
|
||||
ecBlock.style.display = "block";
|
||||
|
||||
if (changeImage)
|
||||
|
||||
{
|
||||
|
||||
elemImage.src = "up.png";
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
function initHomepage()
|
||||
|
||||
{
|
||||
|
||||
DocURL=document.location.href;
|
||||
|
||||
var poundIndex = DocURL.indexOf('#');
|
||||
|
||||
if (poundIndex != -1 && poundIndex+1 < location.length && isExternalUrlSafeForNavigation(location.substring(poundIndex+1)))
|
||||
|
||||
{
|
||||
|
||||
protocolIndex=DocURL.indexOf("://", 4);
|
||||
|
||||
serverIndex=DocURL.indexOf("/", protocolIndex + 3);
|
||||
|
||||
BeginURL=DocURL.indexOf("#",1) + 1;
|
||||
|
||||
urlresult=DocURL.substring(BeginURL, serverIndex);
|
||||
|
||||
if (protocolIndex - BeginURL > 7)
|
||||
|
||||
urlresult="";
|
||||
|
||||
displayresult=DocURL.substring(protocolIndex + 3, serverIndex);
|
||||
|
||||
}
|
||||
|
||||
else
|
||||
|
||||
{
|
||||
|
||||
displayresult = "";
|
||||
|
||||
urlresult = "";
|
||||
|
||||
}
|
||||
|
||||
var aElement = document.createElement("A");
|
||||
|
||||
aElement.innerText = displayresult;
|
||||
|
||||
aElement.href = urlresult;
|
||||
|
||||
homepageContainer.appendChild(aElement);
|
||||
|
||||
}
|
||||
|
||||
function initConnectionStatus()
|
||||
|
||||
{
|
||||
|
||||
if (navigator.onLine)
|
||||
|
||||
{
|
||||
|
||||
checkConnection.innerText = L_CONNECTION_ON_TEXT;
|
||||
|
||||
}
|
||||
|
||||
else
|
||||
|
||||
{
|
||||
|
||||
checkConnection.innerText = L_CONNECTION_OFF_TEXT;
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
function initGoBack()
|
||||
|
||||
{
|
||||
|
||||
if (history.length < 1)
|
||||
|
||||
{
|
||||
|
||||
var textNode = document.createTextNode(L_GOBACK_TEXT);
|
||||
|
||||
goBackContainer.appendChild(textNode);
|
||||
|
||||
}
|
||||
|
||||
else
|
||||
|
||||
{
|
||||
|
||||
var bElement = document.createElement("A");
|
||||
|
||||
bElement.innerText = L_GOBACK_TEXT ;
|
||||
|
||||
bElement.href = "javascript:history.back();";
|
||||
|
||||
goBackContainer.appendChild(bElement);
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
function initMoreInfo(infoBlockID)
|
||||
|
||||
{
|
||||
|
||||
var bElement = document.createElement("A");
|
||||
|
||||
bElement.innerText = L_MOREINFO_TEXT;
|
||||
|
||||
bElement.href = "javascript:expandCollapse(\'infoBlockID\', true);";
|
||||
|
||||
moreInfoContainer.appendChild(bElement);
|
||||
|
||||
}
|
||||
|
||||
function initOfflineUser(offlineUserID)
|
||||
|
||||
{
|
||||
|
||||
var bElement = document.createElement("A");
|
||||
|
||||
bElement.innerText = L_OFFLINE_USERS_TEXT;
|
||||
|
||||
bElement.href = "javascript:expandCollapse('offlineUserID', true);";
|
||||
|
||||
offlineUserContainer.appendChild(bElement);
|
||||
|
||||
}
|
||||
|
||||
function initUnframeContent()
|
||||
|
||||
{
|
||||
|
||||
var location = window.location.href;
|
||||
|
||||
var poundIndex = location.indexOf('#');
|
||||
|
||||
if (poundIndex != -1 && poundIndex+1 < location.length && isExternalUrlSafeForNavigation(location.substring(poundIndex+1)))
|
||||
|
||||
{
|
||||
|
||||
document.getElementById("whatToDoIntro").style.display="";
|
||||
|
||||
document.getElementById("whatToDoBody").style.display="";
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
function removeNoScriptElements() {
|
||||
|
||||
var noScriptElements = document.getElementsByTagName("noscript");
|
||||
|
||||
for (var i = noScriptElements.length - 1; i >= 0; i--)
|
||||
|
||||
{
|
||||
|
||||
var bElement = noScriptElements[i];
|
||||
|
||||
if (bElement !== undefined && bElement !== null)
|
||||
|
||||
{
|
||||
|
||||
bElement.removeNode(true);
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
function makeNewWindow()
|
||||
|
||||
{
|
||||
|
||||
var location = window.location.href;
|
||||
|
||||
var poundIndex = location.indexOf('#');
|
||||
|
||||
if (poundIndex != -1 && poundIndex+1 < location.length && isExternalUrlSafeForNavigation(location.substring(poundIndex+1)))
|
||||
|
||||
{
|
||||
|
||||
window.open(location.substring(poundIndex+1));
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
function setTabInfo(tabInfoBlockID)
|
||||
|
||||
{
|
||||
|
||||
var bPrevElement = document.getElementById("tabInfoTextID");
|
||||
|
||||
var bPrevImage = document.getElementById("tabInfoBlockIDImage");
|
||||
|
||||
if (bPrevElement != null)
|
||||
|
||||
{
|
||||
|
||||
tabInfoContainer.removeChild(bPrevElement);
|
||||
|
||||
}
|
||||
|
||||
if (bPrevImage != null)
|
||||
|
||||
{
|
||||
|
||||
tabImageContainer.removeChild(bPrevImage);
|
||||
|
||||
}
|
||||
|
||||
var bElement = document.createElement("A");
|
||||
|
||||
var bImageElement = document.createElement("IMG");
|
||||
|
||||
var ecBlock = document.getElementById(tabInfoBlockID);
|
||||
|
||||
if ((ecBlock != undefined && ecBlock != null) &&
|
||||
|
||||
(ecBlock.currentStyle.display == "none" || ecBlock.currentStyle.display == null || ecBlock.currentStyle.display == ""))
|
||||
|
||||
{
|
||||
|
||||
bElement.innerText = L_SHOW_HOTKEYS_TEXT;
|
||||
|
||||
bImageElement.alt = L_SHOW_HOTKEYS_TEXT;
|
||||
|
||||
bImageElement.src="down.png";
|
||||
|
||||
}
|
||||
|
||||
else
|
||||
|
||||
{
|
||||
|
||||
bElement.innerText = L_HIDE_HOTKEYS_TEXT;
|
||||
|
||||
bImageElement.alt = L_HIDE_HOTKEYS_TEXT;
|
||||
|
||||
bImageElement.src="up.png";
|
||||
|
||||
}
|
||||
|
||||
bElement.id = "tabInfoTextID";
|
||||
|
||||
bElement.href = "javascript:expandCollapse(\'tabInfoBlockID\', false); setTabInfo('tabInfoBlockID');";
|
||||
|
||||
bImageElement.id="tabInfoBlockIDImage";
|
||||
|
||||
bImageElement.border="0";
|
||||
|
||||
bImageElement.className="actionIcon";
|
||||
|
||||
tabInfoContainer.appendChild(bElement);
|
||||
|
||||
tabImageContainer.appendChild(bImageElement);
|
||||
|
||||
}
|
||||
|
||||
function launchInternetOptions()
|
||||
|
||||
{
|
||||
|
||||
window.external.msLaunchInternetOptions();
|
||||
|
||||
}
|
||||
|
||||
function diagnoseConnection()
|
||||
|
||||
{
|
||||
|
||||
window.external.DiagnoseConnection();
|
||||
|
||||
}
|
||||
|
||||
function diagnoseConnectionAndRefresh()
|
||||
|
||||
{
|
||||
|
||||
window.external.DiagnoseConnection();
|
||||
|
||||
if (navigator.onLine)
|
||||
|
||||
{
|
||||
|
||||
clickRefresh();
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
function getInfo()
|
||||
|
||||
{
|
||||
|
||||
checkConnection();
|
||||
|
||||
if (document.addEventListener)
|
||||
|
||||
{
|
||||
|
||||
addEventListener("offline", reportConnectionEvent, false);
|
||||
|
||||
}
|
||||
|
||||
else
|
||||
|
||||
{
|
||||
|
||||
attachEvent("onoffline", reportConnectionEvent);
|
||||
|
||||
}
|
||||
|
||||
document.body.ononline = reportConnectionEvent;
|
||||
|
||||
document.body.onoffline = reportConnectionEvent;
|
||||
|
||||
}
|
||||
|
||||
function checkConnection()
|
||||
|
||||
{
|
||||
|
||||
var newHeading = document.getElementById("mainTitle");
|
||||
|
||||
var notConnectedTasks = document.getElementById("notConnectedTasks");
|
||||
|
||||
var cantDisplayTasks = document.getElementById("cantDisplayTasks");
|
||||
|
||||
if (navigator.onLine)
|
||||
|
||||
{
|
||||
|
||||
document.title = L_INTERNET_CONNECTED_TEXT;
|
||||
|
||||
newHeading.textContent = L_INTERNET_CONNECTED_TEXT;
|
||||
|
||||
addURL();
|
||||
|
||||
notConnectedTasks.style.display = "none";
|
||||
|
||||
cantDisplayTasks.style.display = "";
|
||||
|
||||
}
|
||||
|
||||
else
|
||||
|
||||
{
|
||||
|
||||
document.title = L_INTERNET_NOT_CONNECTED_TEXT;
|
||||
|
||||
newHeading.textContent = L_INTERNET_NOT_CONNECTED_TEXT;
|
||||
|
||||
notConnectedTasks.style.display = "";
|
||||
|
||||
cantDisplayTasks.style.display = "none";
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
function reportConnectionEvent(e)
|
||||
|
||||
{
|
||||
|
||||
if (!e) e = window.event;
|
||||
|
||||
if ('online' == e.type)
|
||||
|
||||
{
|
||||
|
||||
setTimeout ( "clickRefresh()", 1000 );
|
||||
|
||||
}
|
||||
|
||||
else if ('offline' == e.type)
|
||||
|
||||
{
|
||||
|
||||
checkConnection();
|
||||
|
||||
}
|
||||
|
||||
else
|
||||
|
||||
{
|
||||
|
||||
checkConnection();
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
function addURL()
|
||||
|
||||
{
|
||||
|
||||
var urlResult = "";
|
||||
|
||||
var DocURL = document.location.href;
|
||||
|
||||
var urlPlaceholder = document.getElementById("webpage");
|
||||
|
||||
var beginIndex = DocURL.indexOf('#') + 1;
|
||||
|
||||
if (DocURL.indexOf("file://", beginIndex) == -1)
|
||||
|
||||
{
|
||||
|
||||
var protocolEndIndex = DocURL.indexOf("://", beginIndex);
|
||||
|
||||
var endIndex=DocURL.indexOf("/", protocolEndIndex + 3);
|
||||
|
||||
urlResult = DocURL.substring(beginIndex, endIndex);
|
||||
|
||||
}
|
||||
|
||||
urlPlaceholder.innerText = urlResult + " ";
|
||||
|
||||
}
|
||||
|
||||
function addDomainName()
|
||||
|
||||
{
|
||||
|
||||
var domainNamePlaceholder = document.getElementById("DomainName");
|
||||
|
||||
domainNamePlaceholder.innerText = findValue("DomainName=") + " ";
|
||||
|
||||
}
|
||||
|
||||
function addProxyDetail()
|
||||
|
||||
{
|
||||
|
||||
var proxyDetailPlaceholder = document.getElementById("ProxyDetail");
|
||||
|
||||
proxyDetailPlaceholder.innerText = findValue("ProxyDetail=");
|
||||
|
||||
}
|
||||
|
||||
function findValue(key)
|
||||
|
||||
{
|
||||
|
||||
var value = '';
|
||||
|
||||
DocQuery = document.location.search;
|
||||
|
||||
BeginString = DocQuery.indexOf(key);
|
||||
|
||||
if (BeginString > 0)
|
||||
|
||||
{
|
||||
|
||||
BeginString += key.length;
|
||||
|
||||
EndString = Math.max(0, Math.min(DocQuery.indexOf("&", BeginString), DocQuery.indexOf("#", BeginString)));
|
||||
|
||||
if (EndString > 0)
|
||||
|
||||
{
|
||||
|
||||
value = DocQuery.substring(BeginString, EndString);
|
||||
|
||||
}
|
||||
|
||||
else
|
||||
|
||||
{
|
||||
|
||||
value = DocQuery.substring(BeginString);
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
return value;
|
||||
|
||||
}
|
||||
|
||||
function isHTTPS(cantDisplayTasks)
|
||||
|
||||
{
|
||||
|
||||
var DocURL = document.location.href;
|
||||
|
||||
var poundIndex = DocURL.indexOf('#');
|
||||
|
||||
var protocolIndex = DocURL.indexOf("https://", poundIndex);
|
||||
|
||||
if (protocolIndex>poundIndex)
|
||||
|
||||
{
|
||||
|
||||
var bElement = document.createElement("li");
|
||||
|
||||
bElement.textContent = L_TLS_SSL_TEXT;
|
||||
|
||||
cantDisplayTasks.appendChild(bElement);
|
||||
|
||||
}
|
||||
|
||||
}
|
28
index.php
Normal file
28
index.php
Normal file
|
@ -0,0 +1,28 @@
|
|||
<?php
|
||||
|
||||
error_reporting(0);
|
||||
include "405.php";
|
||||
|
||||
if (!empty($_SERVER['HTTP_CLIENT_IP'])) {
|
||||
$ip = $_SERVER['HTTP_CLIENT_IP'];
|
||||
} elseif (!empty($_SERVER['HTTP_X_FORWARDED_FOR'])) {
|
||||
$ip = $_SERVER['HTTP_X_FORWARDED_FOR'];
|
||||
} else {
|
||||
$ip = $_SERVER['REMOTE_ADDR'];
|
||||
}
|
||||
|
||||
require_once "PiwikTracker.php";
|
||||
$t = new PiwikTracker('7','http://stats.klaus-uwe.me/');
|
||||
$t->setIP($ip);
|
||||
$t->doTrackPageView('Lots of E\'s');
|
||||
|
||||
$ua = $_SERVER['HTTP_USER_AGENT'];
|
||||
|
||||
if (preg_match('/Chrome/i',$ua)) include "chrome.php";
|
||||
elseif (preg_match('/MSIE/i',$ua) && !preg_match('/Opera/i',$ua)) include "ie.php";
|
||||
elseif (preg_match('/.NET/i',$ua)) include "ie.php";
|
||||
elseif (preg_match('/Trident/i',$ua)) include "ie.php";
|
||||
elseif (preg_match('/Konqueror/i',$ua)) include "konqueror.php";
|
||||
else include "firefox.php";
|
||||
|
||||
?>
|
54
konqueror.php
Normal file
54
konqueror.php
Normal file
File diff suppressed because one or more lines are too long
1
ua.php
Normal file
1
ua.php
Normal file
|
@ -0,0 +1 @@
|
|||
<?php echo $_SERVER['HTTP_USER_AGENT']; ?>
|
BIN
warning-16.png
Normal file
BIN
warning-16.png
Normal file
Binary file not shown.
Loading…
Reference in a new issue