Compare commits

..

No commits in common. "7f3b6c227588f36a906c2f8614730a8a85f25249" and "5901d67988fd3bb13e716d5874c068a9bdb45188" have entirely different histories.

3 changed files with 3 additions and 15 deletions

View File

@ -1,5 +0,0 @@
= Browser Userscripts
A collection of my Greasemonkey-like userscripts.
They are also mirrored here: https://greasyfork.org/en/users/706892-kucharczykl

3
README.md Normal file
View File

@ -0,0 +1,3 @@
# userscripts
A collection of my Greasemonkey-like userscripts.

View File

@ -1,10 +0,0 @@
// ==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')