1
0
Fork 0
mirror of https://github.com/SinTan1729/random.git synced 2024-12-26 13:18:35 -06:00
random/firefox-local-auto-redirection-fix.user.js
2021-04-20 00:24:49 +05:30

10 lines
No EOL
324 B
JavaScript

// ==UserScript==
// @name Firefox local auto-redirection fix
// @namespace Local
// @description A script for fixing the auto-redirection defined in local files in firefox
// @match file:///*
// @grant none
// @author SinTan
// @version 1.1
// ==/UserScript==
window.location.href=document.getElementsByTagName("a")[0].href