This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // ==UserScript== | |
| // @name New Reddit Redirect | |
| // @description Redirects newest www.reddit.com to the "new" version of the website (not old.reddit.com). Based on "Old Reddit Redirect" | |
| // @downloadURL https://gist.githubusercontent.com/thettenhausen/23a1c87d74e75d9e6f4af5e2fb7671a5/raw/new-reddit-redirect.user.js | |
| // @updateURL https://gist.githubusercontent.com/thettenhausen/23a1c87d74e75d9e6f4af5e2fb7671a5/raw/new-reddit-redirect.user.js | |
| // @version 2024.02.21 | |
| // @run-at request | |
| // ==/UserScript== | |
| [ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const endDate = '07/01/2021 09:00:00 AM'; | |
| const fontColor = new Color("#918A8A") | |
| const daysTillText = 'Days until Fusion' | |
| const logoUrl = 'https://www.fusion-festival.de/typo3conf/ext/user_fusion_x/Resources/Public/Images/Icons/favicon-96x96.png' | |
| const widgetUrl = "https://www.fusion-festival.de" | |
| const daysFont = Font.ultraLightSystemFont(70) | |
| const dummyFont = Font.lightSystemFont(14) | |
| const widget = await createWidget() | |
| widget.backgroundColor = new Color("#F00480") |