mirror of
https://github.com/SinTan1729/random.git
synced 2024-12-26 21:18:36 -06:00
10 lines
324 B
JavaScript
10 lines
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
|