Remove language.js script

This commit is contained in:
JeremyStar™ 2023-09-11 01:01:00 +02:00
parent 63b3a99107
commit c52e1fc41e
19 changed files with 0 additions and 188 deletions

View file

@ -46,16 +46,6 @@
<p class="description" data-l10n><DESCRIPTION></p> <p class="description" data-l10n><DESCRIPTION></p>
</div> </div>
</div> </div>
<script>
if (navigator.language.substring(0, 2).toLowerCase() !== 'en') {
((s, p) => {
s.src = '/globalsites/errors/assets/language.js'; // '../l10n/l10n.js';
s.async = s.defer = true;
s.addEventListener('load', () => p.removeChild(s));
p.appendChild(s);
})(document.createElement('script'), document.body);
}
</script>
</body> </body>
<!-- <!--
Error 400: Bad Request Error 400: Bad Request

View file

@ -46,16 +46,6 @@
<p class="description" data-l10n><DESCRIPTION></p> <p class="description" data-l10n><DESCRIPTION></p>
</div> </div>
</div> </div>
<script>
if (navigator.language.substring(0, 2).toLowerCase() !== 'en') {
((s, p) => {
s.src = '/globalsites/errors/assets/language.js'; // '../l10n/l10n.js';
s.async = s.defer = true;
s.addEventListener('load', () => p.removeChild(s));
p.appendChild(s);
})(document.createElement('script'), document.body);
}
</script>
</body> </body>
<!-- <!--
Error 401: Unauthorized Error 401: Unauthorized

View file

@ -46,16 +46,6 @@
<p class="description" data-l10n><DESCRIPTION></p> <p class="description" data-l10n><DESCRIPTION></p>
</div> </div>
</div> </div>
<script>
if (navigator.language.substring(0, 2).toLowerCase() !== 'en') {
((s, p) => {
s.src = '/globalsites/errors/assets/language.js'; // '../l10n/l10n.js';
s.async = s.defer = true;
s.addEventListener('load', () => p.removeChild(s));
p.appendChild(s);
})(document.createElement('script'), document.body);
}
</script>
</body> </body>
<!-- <!--
Error 403: Forbidden Error 403: Forbidden

View file

@ -46,16 +46,6 @@
<p class="description" data-l10n><DESCRIPTION></p> <p class="description" data-l10n><DESCRIPTION></p>
</div> </div>
</div> </div>
<script>
if (navigator.language.substring(0, 2).toLowerCase() !== 'en') {
((s, p) => {
s.src = '/globalsites/errors/assets/language.js'; // '../l10n/l10n.js';
s.async = s.defer = true;
s.addEventListener('load', () => p.removeChild(s));
p.appendChild(s);
})(document.createElement('script'), document.body);
}
</script>
</body> </body>
<!-- <!--
Error 404: Not Found Error 404: Not Found

View file

@ -46,16 +46,6 @@
<p class="description" data-l10n><DESCRIPTION></p> <p class="description" data-l10n><DESCRIPTION></p>
</div> </div>
</div> </div>
<script>
if (navigator.language.substring(0, 2).toLowerCase() !== 'en') {
((s, p) => {
s.src = '/globalsites/errors/assets/language.js'; // '../l10n/l10n.js';
s.async = s.defer = true;
s.addEventListener('load', () => p.removeChild(s));
p.appendChild(s);
})(document.createElement('script'), document.body);
}
</script>
</body> </body>
<!-- <!--
Error 405: Method Not Allowed Error 405: Method Not Allowed

View file

@ -46,16 +46,6 @@
<p class="description" data-l10n><DESCRIPTION></p> <p class="description" data-l10n><DESCRIPTION></p>
</div> </div>
</div> </div>
<script>
if (navigator.language.substring(0, 2).toLowerCase() !== 'en') {
((s, p) => {
s.src = '/globalsites/errors/assets/language.js'; // '../l10n/l10n.js';
s.async = s.defer = true;
s.addEventListener('load', () => p.removeChild(s));
p.appendChild(s);
})(document.createElement('script'), document.body);
}
</script>
</body> </body>
<!-- <!--
Error 410: Gone Error 410: Gone

View file

@ -46,16 +46,6 @@
<p class="description" data-l10n><DESCRIPTION></p> <p class="description" data-l10n><DESCRIPTION></p>
</div> </div>
</div> </div>
<script>
if (navigator.language.substring(0, 2).toLowerCase() !== 'en') {
((s, p) => {
s.src = '/globalsites/errors/assets/language.js'; // '../l10n/l10n.js';
s.async = s.defer = true;
s.addEventListener('load', () => p.removeChild(s));
p.appendChild(s);
})(document.createElement('script'), document.body);
}
</script>
</body> </body>
<!-- <!--
Error 413: Content Too Large Error 413: Content Too Large

View file

@ -46,16 +46,6 @@
<p class="description" data-l10n><DESCRIPTION></p> <p class="description" data-l10n><DESCRIPTION></p>
</div> </div>
</div> </div>
<script>
if (navigator.language.substring(0, 2).toLowerCase() !== 'en') {
((s, p) => {
s.src = '/globalsites/errors/assets/language.js'; // '../l10n/l10n.js';
s.async = s.defer = true;
s.addEventListener('load', () => p.removeChild(s));
p.appendChild(s);
})(document.createElement('script'), document.body);
}
</script>
</body> </body>
<!-- <!--
Error 414: URI Too Long Error 414: URI Too Long

View file

@ -46,16 +46,6 @@
<p class="description" data-l10n><DESCRIPTION></p> <p class="description" data-l10n><DESCRIPTION></p>
</div> </div>
</div> </div>
<script>
if (navigator.language.substring(0, 2).toLowerCase() !== 'en') {
((s, p) => {
s.src = '/globalsites/errors/assets/language.js'; // '../l10n/l10n.js';
s.async = s.defer = true;
s.addEventListener('load', () => p.removeChild(s));
p.appendChild(s);
})(document.createElement('script'), document.body);
}
</script>
</body> </body>
<!-- <!--
Error 415: Unsupported Media Type Error 415: Unsupported Media Type

View file

@ -46,16 +46,6 @@
<p class="description" data-l10n><DESCRIPTION></p> <p class="description" data-l10n><DESCRIPTION></p>
</div> </div>
</div> </div>
<script>
if (navigator.language.substring(0, 2).toLowerCase() !== 'en') {
((s, p) => {
s.src = '/globalsites/errors/assets/language.js'; // '../l10n/l10n.js';
s.async = s.defer = true;
s.addEventListener('load', () => p.removeChild(s));
p.appendChild(s);
})(document.createElement('script'), document.body);
}
</script>
</body> </body>
<!-- <!--
Error 418: I'm a teapot Error 418: I'm a teapot

View file

@ -46,16 +46,6 @@
<p class="description" data-l10n><DESCRIPTION></p> <p class="description" data-l10n><DESCRIPTION></p>
</div> </div>
</div> </div>
<script>
if (navigator.language.substring(0, 2).toLowerCase() !== 'en') {
((s, p) => {
s.src = '/globalsites/errors/assets/language.js'; // '../l10n/l10n.js';
s.async = s.defer = true;
s.addEventListener('load', () => p.removeChild(s));
p.appendChild(s);
})(document.createElement('script'), document.body);
}
</script>
</body> </body>
<!-- <!--
Error 429: Too Many Requests Error 429: Too Many Requests

View file

@ -46,16 +46,6 @@
<p class="description" data-l10n><DESCRIPTION></p> <p class="description" data-l10n><DESCRIPTION></p>
</div> </div>
</div> </div>
<script>
if (navigator.language.substring(0, 2).toLowerCase() !== 'en') {
((s, p) => {
s.src = '/globalsites/errors/assets/language.js'; // '../l10n/l10n.js';
s.async = s.defer = true;
s.addEventListener('load', () => p.removeChild(s));
p.appendChild(s);
})(document.createElement('script'), document.body);
}
</script>
</body> </body>
<!-- <!--
Error 500: Internal Server Error Error 500: Internal Server Error

View file

@ -46,16 +46,6 @@
<p class="description" data-l10n><DESCRIPTION></p> <p class="description" data-l10n><DESCRIPTION></p>
</div> </div>
</div> </div>
<script>
if (navigator.language.substring(0, 2).toLowerCase() !== 'en') {
((s, p) => {
s.src = '/globalsites/errors/assets/language.js'; // '../l10n/l10n.js';
s.async = s.defer = true;
s.addEventListener('load', () => p.removeChild(s));
p.appendChild(s);
})(document.createElement('script'), document.body);
}
</script>
</body> </body>
<!-- <!--
Error 501: Not Implemented Error 501: Not Implemented

View file

@ -46,16 +46,6 @@
<p class="description" data-l10n><DESCRIPTION></p> <p class="description" data-l10n><DESCRIPTION></p>
</div> </div>
</div> </div>
<script>
if (navigator.language.substring(0, 2).toLowerCase() !== 'en') {
((s, p) => {
s.src = '/globalsites/errors/assets/language.js'; // '../l10n/l10n.js';
s.async = s.defer = true;
s.addEventListener('load', () => p.removeChild(s));
p.appendChild(s);
})(document.createElement('script'), document.body);
}
</script>
</body> </body>
<!-- <!--
Error 502: Bad Gateway Error 502: Bad Gateway

View file

@ -46,16 +46,6 @@
<p class="description" data-l10n><DESCRIPTION></p> <p class="description" data-l10n><DESCRIPTION></p>
</div> </div>
</div> </div>
<script>
if (navigator.language.substring(0, 2).toLowerCase() !== 'en') {
((s, p) => {
s.src = '/globalsites/errors/assets/language.js'; // '../l10n/l10n.js';
s.async = s.defer = true;
s.addEventListener('load', () => p.removeChild(s));
p.appendChild(s);
})(document.createElement('script'), document.body);
}
</script>
</body> </body>
<!-- <!--
Error 503: Service Unavailable Error 503: Service Unavailable

View file

@ -46,16 +46,6 @@
<p class="description" data-l10n><DESCRIPTION></p> <p class="description" data-l10n><DESCRIPTION></p>
</div> </div>
</div> </div>
<script>
if (navigator.language.substring(0, 2).toLowerCase() !== 'en') {
((s, p) => {
s.src = '/globalsites/errors/assets/language.js'; // '../l10n/l10n.js';
s.async = s.defer = true;
s.addEventListener('load', () => p.removeChild(s));
p.appendChild(s);
})(document.createElement('script'), document.body);
}
</script>
</body> </body>
<!-- <!--
Error 504: Gateway Timeout Error 504: Gateway Timeout

View file

@ -46,16 +46,6 @@
<p class="description" data-l10n><DESCRIPTION></p> <p class="description" data-l10n><DESCRIPTION></p>
</div> </div>
</div> </div>
<script>
if (navigator.language.substring(0, 2).toLowerCase() !== 'en') {
((s, p) => {
s.src = '/globalsites/errors/assets/language.js'; // '../l10n/l10n.js';
s.async = s.defer = true;
s.addEventListener('load', () => p.removeChild(s));
p.appendChild(s);
})(document.createElement('script'), document.body);
}
</script>
</body> </body>
<!-- <!--
Error 505: HTTP Version Not Supported Error 505: HTTP Version Not Supported

File diff suppressed because one or more lines are too long

View file

@ -46,16 +46,6 @@
<p class="description" data-l10n><DESCRIPTION></p> <p class="description" data-l10n><DESCRIPTION></p>
</div> </div>
</div> </div>
<script>
if (navigator.language.substring(0, 2).toLowerCase() !== 'en') {
((s, p) => {
s.src = '/globalsites/errors/assets/language.js'; // '../l10n/l10n.js';
s.async = s.defer = true;
s.addEventListener('load', () => p.removeChild(s));
p.appendChild(s);
})(document.createElement('script'), document.body);
}
</script>
</body> </body>
<!-- <!--
Error <CODE>: <MESSAGE> Error <CODE>: <MESSAGE>