1
0
Fork 0
mirror of https://github.com/SinTan1729/random.git synced 2024-12-26 21:18:36 -06:00
random/firefox-local-auto-redirection-fix.user.js

10 lines
324 B
JavaScript
Raw Normal View History

2021-04-19 13:54:49 -05:00
// ==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