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>
</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>
<!--
Error 400: Bad Request

View file

@ -46,16 +46,6 @@
<p class="description" data-l10n><DESCRIPTION></p>
</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>
<!--
Error 401: Unauthorized

View file

@ -46,16 +46,6 @@
<p class="description" data-l10n><DESCRIPTION></p>
</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>
<!--
Error 403: Forbidden

View file

@ -46,16 +46,6 @@
<p class="description" data-l10n><DESCRIPTION></p>
</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>
<!--
Error 404: Not Found

View file

@ -46,16 +46,6 @@
<p class="description" data-l10n><DESCRIPTION></p>
</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>
<!--
Error 405: Method Not Allowed

View file

@ -46,16 +46,6 @@
<p class="description" data-l10n><DESCRIPTION></p>
</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>
<!--
Error 410: Gone

View file

@ -46,16 +46,6 @@
<p class="description" data-l10n><DESCRIPTION></p>
</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>
<!--
Error 413: Content Too Large

View file

@ -46,16 +46,6 @@
<p class="description" data-l10n><DESCRIPTION></p>
</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>
<!--
Error 414: URI Too Long

View file

@ -46,16 +46,6 @@
<p class="description" data-l10n><DESCRIPTION></p>
</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>
<!--
Error 415: Unsupported Media Type

View file

@ -46,16 +46,6 @@
<p class="description" data-l10n><DESCRIPTION></p>
</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>
<!--
Error 418: I'm a teapot

View file

@ -46,16 +46,6 @@
<p class="description" data-l10n><DESCRIPTION></p>
</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>
<!--
Error 429: Too Many Requests

View file

@ -46,16 +46,6 @@
<p class="description" data-l10n><DESCRIPTION></p>
</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>
<!--
Error 500: Internal Server Error

View file

@ -46,16 +46,6 @@
<p class="description" data-l10n><DESCRIPTION></p>
</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>
<!--
Error 501: Not Implemented

View file

@ -46,16 +46,6 @@
<p class="description" data-l10n><DESCRIPTION></p>
</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>
<!--
Error 502: Bad Gateway

View file

@ -46,16 +46,6 @@
<p class="description" data-l10n><DESCRIPTION></p>
</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>
<!--
Error 503: Service Unavailable

View file

@ -46,16 +46,6 @@
<p class="description" data-l10n><DESCRIPTION></p>
</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>
<!--
Error 504: Gateway Timeout

View file

@ -46,16 +46,6 @@
<p class="description" data-l10n><DESCRIPTION></p>
</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>
<!--
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>
</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>
<!--
Error <CODE>: <MESSAGE>