Compare commits
2 Commits
5901d67988
...
7f3b6c2275
Author | SHA1 | Date |
---|---|---|
Lukáš Kucharczyk | 7f3b6c2275 | |
Lukáš Kucharczyk | 02142f1517 |
|
@ -0,0 +1,5 @@
|
||||||
|
= Browser Userscripts
|
||||||
|
|
||||||
|
A collection of my Greasemonkey-like userscripts.
|
||||||
|
|
||||||
|
They are also mirrored here: https://greasyfork.org/en/users/706892-kucharczykl
|
|
@ -1,3 +0,0 @@
|
||||||
# userscripts
|
|
||||||
|
|
||||||
A collection of my Greasemonkey-like userscripts.
|
|
|
@ -0,0 +1,10 @@
|
||||||
|
// ==UserScript==
|
||||||
|
// @name Hacker News Redirect to hn.premii.com
|
||||||
|
// @namespace Violentmonkey Scripts
|
||||||
|
// @match https://news.ycombinator.com/item
|
||||||
|
// @grant none
|
||||||
|
// @version 1.0
|
||||||
|
// @author Lukas Kucharczyk (lukas@kucharczyk.xyz)
|
||||||
|
// @description Automatically redirects Hacker News links to a more modern interface at hn.premii.com.
|
||||||
|
// ==/UserScript==
|
||||||
|
window.location.href='https://hn.premii.com/#/comments/' + new URLSearchParams(window.location.search).get('id')
|
Loading…
Reference in New Issue