removed unused stuff

This commit is contained in:
Rudis Muiznieks 2023-09-24 14:24:05 -05:00
parent ba48c01897
commit e73af22b85
Signed by: rudism
GPG key ID: CABF2F86EF7884F9
8 changed files with 0 additions and 299 deletions

View file

@ -1,14 +0,0 @@
#!/usr/bin/env bash
set -euo pipefail
if [ ! -d ./newtabber ]; then
git clone git@code.sitosis.com:rudism/newtabber.git
fi
rm -f newtabber/links.json
cd newtabber
git pull
cp ../links.json .
perl generate.pl
scp newtab.html shitsandwi.ch:static/newtab.html

View file

@ -1,25 +0,0 @@
[
{ "title": "Email", "url": "https://app.fastmail.com/", "icon": "envelope" },
{ "title": "RSS", "url": "https://rss.sitosis.com/", "icon": "rss" },
{ "title": "Ooh!Directory", "url": "https://ooh.directory/updated/", "icon": "bookmarks"},
{ "title": "Hacker News", "url": "https://hckrnews.com/", "icon": "newspaper" },
{ "title": "Tildes", "url": "https://tildes.net/", "icon": "chat-dots" },
{ "title": "Notes", "url": "https://notes.sitosis.com", "icon": "journal-text" },
{ "title": "Read", "url": "https://read.sitosis.com/", "icon": "book" },
{ "title": "Net Authority", "url": "https://netauthority.org/", "icon": "mastodon" },
{ "title": "Letterboxd", "url": "https://letterboxd.com/", "icon": "camera-reels" },
{ "title": "Waking Up", "url": "https://app.wakingup.com/", "icon": "flower1" },
{ "title": "Jellyfin", "url": "https://home.ln0.us:8920/", "icon": "collection-play" },
{ "title": "YouTube", "url": "https://www.youtube.com/feed/subscriptions", "icon": "youtube" },
{ "title": "Nebula", "url": "https://nebula.app/myshows", "icon": "film" },
{ "title": "Dropout", "url": "https://www.dropout.tv", "icon": "emoji-laughing-fill" },
{ "title": "Audiobooks", "url": "https://audio.home.ln0.us/", "icon": "cassette-fill" },
{ "title": "Pandora", "url": "https://www.pandora.com/", "icon": "music-note-list" },
{ "title": "Radiostasis", "url": "https://radiostasis.com/", "icon": "broadcast-pin" },
{ "title": "Geoguessr", "url": "https://geoguessr.com/", "icon": "geo-fill" },
{ "title": "WebToons", "url": "https://www.webtoons.com/en/favorite", "icon": "chat-heart-fill" },
{ "title": "Location", "url": "https://loc.sitosis.com/", "icon": "geo-alt-fill" },
{ "title": "Light Phone", "url": "https://dashboard.thelightphone.com/devices/4234ac50-9d96-433c-9f25-c8d3ff15c7c5", "icon": "phone" },
{ "title": "Router", "url": "https://router.ln0.us/", "icon": "router" },
{ "title": "Wifi", "url": "https://home.ln0.us:8443/", "icon": "wifi" }
]

View file

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

View file

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

View file

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

View file

@ -1,107 +0,0 @@
// ==UserScript==
// @name Style-HackerNews
// @namespace code.sitosis.com
// @version 1.0
// @description Style HackerNews
// @author rudism
// @match https://news.ycombinator.com/*
// @grant none
// @run-at document-end
// ==/UserScript==
function injectStyle(css) {
var style = document.createElement('style');
style.innerHTML = css;
var body = document.getElementsByTagName('body');
if(body.length > 0) {
body[0].appendChild(style);
}
}
(function () {
'use strict';
injectStyle(`
body {
background-color: #11111b;
}
.fatitem td {
color: #cdd6f4;
font-size: 12pt;
}
#hnmain {
background-color: #1e1e2e;
}
#hnmain td[bgcolor='#ff6600'] {
background-color: #89b4fa;
}
img[src='y18.gif'] {
filter: invert(100%);
}
#hnmain td[bgcolor='#ff6600'] a:link {
color: #11111b;
}
.comhead a:link,
.subtext a:visited,
.hnmore a:link,
a:visited {
color: #a6adc8;
}
a:link {
color: #cdd6f4;
}
a.titlelink:hover, a.storylink:hover {
color: #a6e3a1;
}
font[color='#3c963c'] {
color: #a6e3a1;
}
.c00,
.c00 a:link {
color: #cdd6f4;
}
.c5a,
.c5a a:link,
.c5a a:visited,
.c73,
.c73 a:link,
.c73 a:visited,
.c82,
.c82 a:link,
.c82 a:visited,
.c88,
.c88 a:link,
.c88 a:visited,
.c9c,
.c9c a:link,
.c9c a:visited,
.cae,
.cae a:link,
.cae a:visited,
.cbe,
.cbe a:link,
.cbe a:visited,
.cce,
.cce a:link,
.cce a:visited,
.cdd,
.cdd a:link,
.cdd a:visited {
color: #f38ba8;
}
.comment,
.title {
font-size: 12pt;
}`);
})();

View file

@ -1,72 +0,0 @@
// ==UserScript==
// @name Style-Hckrnews
// @namespace code.sitosis.com
// @version 1.0
// @description Style Hckrnews
// @author rudism
// @match https://hckrnews.com/*
// @grant none
// @run-at document-end
// ==/UserScript==
function injectStyle(css) {
var style = document.createElement('style');
style.innerHTML = css;
var body = document.getElementsByTagName('body');
if(body.length > 0) {
body[0].appendChild(style);
}
}
(function () {
'use strict';
injectStyle(`
body,
.form-actions {
background: #1e1e2e;
color: #cdd6f4;
}
a {
color: #a6e3a1;
}
.entries a.link {
color: #cdd6f4;
}
.entries a.link:visited,
.entries .source {
color: #a6adc8;
}
.entries .homepage {
color: #f38ba8;
}
header a,
header a:hover {
color: #89b4fa;
}
.entries a:hover {
background-color: #080808;
color: #a6e3a1;
}
.entries .tab,
.menu .nav-pills > .active > a,
.menu .nav-pills > .active > a:hover {
background-color: #cba6f7;
color: #11111b;
}
.nav > li > a:hover {
background-color: #11111b;
color: #f9e2af;
}
.entries .day {
border-color: #89b4fa;
}`);
})();

View file

@ -1,31 +0,0 @@
// ==UserScript==
// @name Style-Webtoons
// @namespace code.sitosis.com
// @version 1.1
// @description Style Webtoons
// @author rudism
// @match https://m.webtoons.com/*
// @grant none
// @run-at document-end
// ==/UserScript==
function injectStyle(css) {
var style = document.createElement('style');
style.innerHTML = css;
var body = document.getElementsByTagName('body');
if(body.length > 0) {
body[0].appendChild(style);
}
}
(function () {
'use strict';
injectStyle(`
#_viewer {
height: auto !important;
}
#_viewer .flick-ct img {
width: 40%;
height: auto;
}`);
})();