Added solanabeach redirect script.

This commit is contained in:
Some guy named Michael 2022-02-19 12:49:35 -05:00
parent e35a1a3799
commit bd4ddcdde3

View File

@ -0,0 +1,19 @@
// ==UserScript==
// @name Redirect TX to Solscan
// @namespace http://tampermonkey.net/
// @version 1.0
// @description Redirects to solscan, the better site
// @author WTMike24
// @match https://solanabeach.io/transaction/*
// @icon https://www.google.com/s2/favicons?domain=solanabeach.io
// @grant none
// ==/UserScript==
(function() {
'use strict';
// Your code here...
var addr=window.location.toString()
addr=addr.replace("solanabeach","solscan").replace("transaction","tx")
window.location = addr
})();