updated newtab page, added script for invidious redirect

This commit is contained in:
Rudis Muiznieks 2023-03-09 14:13:22 -06:00
parent fbe4fe47dc
commit 1989b816a5
Signed by: rudism
GPG Key ID: CABF2F86EF7884F9
3 changed files with 22 additions and 46 deletions

View File

@ -3,20 +3,19 @@
{ "title": "Tildes", "url": "https://tildes.net/", "icon": "chat-dots" },
{ "title": "RSS", "url": "https://rss.sitosis.com/", "icon": "rss" },
{ "title": "Reddit", "url": "https://r.rdsm.ca/", "icon": "reddit" },
{ "title": "Ooh!Directory", "url": "https://ooh.directory/updated/", "icon": "bookmarks"},
{ "title": "Rudism Social", "url": "https://social.rudism.com/", "icon": "mastodon" },
{ "title": "Email", "url": "https://app.fastmail.com/", "icon": "envelope" },
{ "title": "Notes", "url": "https://notes.sitosis.com", "icon": "journal-text" },
{ "title": "Read", "url": "https://read.sitosis.com/", "icon": "book" },
{ "title": "Bitwarden", "url": "https://pass.sitosis.com/", "icon": "fingerprint" },
{ "title": "SQLPad", "url": "https://db.sitosis.com/", "icon": "database" },
{ "title": "Router", "url": "https://router.ln0.us/", "icon": "router" },
{ "title": "Wifi", "url": "https://home.ln0.us:8443/", "icon": "wifi" },
{ "title": "Location", "url": "https://loc.sitosis.com/", "icon": "geo-alt-fill" },
{ "title": "Jellyfin", "url": "https://home.ln0.us:8920/", "icon": "collection-play" },
{ "title": "Nebula", "url": "https://nebula.app/myshows", "icon": "film" },
{ "title": "Twitch", "url": "https://twitch.tv/", "icon": "twitch" },
{ "title": "YouTube", "url": "https://www.youtube.com/feed/subscriptions", "icon": "youtube" },
{ "placeholder": true },
{ "placeholder": true }
{ "title": "Invidious", "url": "https://yt.rdsm.ca/feed/subscriptions", "icon": "youtube" },
{ "title": "Audiobooks", "url": "https://rdsm.ca/audio", "icon": "cassette-fill" },
{ "title": "Pandora", "url": "https://www.pandora.com/", "icon": "music-note-list" },
{ "title": "Ooh!Directory", "url": "https://ooh.directory/updated/", "icon": "bookmarks"}
]

View File

@ -1,39 +0,0 @@
// ==UserScript==
// @name Redirect-Paywall-Reader
// @namespace code.sitosis.com
// @version 1.0
// @description Rediret Paywall-Reader https://github.com/joshterrill/paywall-reader
// @author rudism
// @match https://www.nytimes.com/*
// @match https://cooking.nytimes.com/*
// @match https://nytimes.com/*
// @match https://www.newyorker.com/*
// @match https://newyorker.com/*
// @match https://www.economist.com/*
// @match https://economist.com/*
// @match https://www.washingtonpost.com/*
// @match https://washingtonpost.com/*
// @match https://www.latimes.com/*
// @match https://latimes.com/*
// @match https://www.theathletic.com/*
// @match https://theathletic.com/*
// @match https://www.businessinsider.com/*
// @match https://businessinsider.com/*
// @match https://www.bloomberg.com/*
// @match https://bloomberg.com/*
// @match https://www.vogue.com/*
// @match https://vogue.com/*
// @match https://www.atlantic.com/*
// @match https://atlantic.com/*
// @grant none
// @run-at document-start
// ==/UserScript==
(function () {
'use strict';
if (top.location.pathname !== '/') {
var host = top.location.hostname.replace(/^www\./, '');
var url = encodeURIComponent(top.location);
top.location=`https://p.rdsm.ca/read?source=${host}&url=${url}`;
}
})();

View File

@ -0,0 +1,16 @@
// ==UserScript==
// @name Redirect-YouTube
// @namespace code.sitosis.com
// @version 1.0
// @description Rediret YouTube
// @author rudism
// @match https://www.youtube.com/*
// @match https://youtube.com/*
// @grant none
// @run-at document-start
// ==/UserScript==
(function () {
'use strict';
top.location.hostname = "yt.rdsm.ca";
})();