🏠 返回首頁 

Discussions » Creation Requests

Go to another site if appears the message: "504 Gateway Time-out"

§
Posted: 2022-01-30

How to make that the script redirected me to the web page: Google.com, if appears a message "504 Gateway Time-out" on the source site:

Site code: https://pastebin.com/MzXK6E7f
Website address: http://blank.lol

I would be grateful for the sample script.

§
Posted: 2022-01-30
Edited: 2022-01-30

// ==UserScript==
// @name 504 Gateway Time-out Redirector
// @namespace redirector
// @version 1
// @description When the tab title matches 504 Gateway Time-out redirect to google.
// @author hacker09
// @match http://blank.lol*
// @run-at document-start
// @grant none
// ==/UserScript==

(function() {
'use strict';
if (document.title.match(/504 Gateway Time-out/) !== null) {
location = 'https://www.google.com/';
} //Finishes the if condition
})();

§
Posted: 2022-01-30

stop helping the spamer bruh

he is killing the poor forum

§
Posted: 2022-01-30
Edited: 2022-01-30

@Konf
The 504 Gateway Time-out error has even less to do with spam.

§
Posted: 2022-01-31
Edited: 2022-01-31

stop helping the spamer bruh

he is killing the poor forum

I am testing my forum, which is located on my home server.
I do not arrange spam attacks on other websites and forums.
I treat everyone with kindness and love! нет

Post reply

Sign in to post a reply.