Skip to content

Instantly share code, notes, and snippets.

@NuarkNoir
Created March 7, 2019 05:55
Show Gist options
  • Save NuarkNoir/9e0e1ec1e75f1db72f23047f6a31b061 to your computer and use it in GitHub Desktop.
Save NuarkNoir/9e0e1ec1e75f1db72f23047f6a31b061 to your computer and use it in GitHub Desktop.
q32 shortener autoredirector - Bypass q32 sortener
// ==UserScript==
// @name q32 shortener autoredirector
// @namespace http://tampermonkey.net/
// @version 0.1
// @description Bypass q32
// @author Nuark
// @match https://q32.ru/*
// @grant none
// ==/UserScript==
(function() {
'use strict';
let rxp = /(.+\/\d+\/[a-zA-Z0-9]\/.+)/;
if (rxp.test(location.href)) {
location.replace(atob(location.href.split("/").pop()));
}
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment