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