diff --git a/newtabber/build.sh b/newtabber/build.sh deleted file mode 100755 index 7e3f4dd..0000000 --- a/newtabber/build.sh +++ /dev/null @@ -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 diff --git a/newtabber/links.json b/newtabber/links.json deleted file mode 100644 index 9d8b424..0000000 --- a/newtabber/links.json +++ /dev/null @@ -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" } -] diff --git a/userscripts/redirect-medium.js b/userscripts/redirect-medium.js deleted file mode 100644 index 5bcac5d..0000000 --- a/userscripts/redirect-medium.js +++ /dev/null @@ -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"; -})(); diff --git a/userscripts/redirect-reddit.js b/userscripts/redirect-reddit.js deleted file mode 100644 index ee2d260..0000000 --- a/userscripts/redirect-reddit.js +++ /dev/null @@ -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"; -})(); diff --git a/userscripts/redirect-twitter.js b/userscripts/redirect-twitter.js deleted file mode 100644 index 7b4ce4f..0000000 --- a/userscripts/redirect-twitter.js +++ /dev/null @@ -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"; -})(); diff --git a/userscripts/style-hackernews.js b/userscripts/style-hackernews.js deleted file mode 100644 index d4b73fa..0000000 --- a/userscripts/style-hackernews.js +++ /dev/null @@ -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; -}`); -})(); diff --git a/userscripts/style-hckrnews.js b/userscripts/style-hckrnews.js deleted file mode 100644 index 89313dc..0000000 --- a/userscripts/style-hckrnews.js +++ /dev/null @@ -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; -}`); -})(); diff --git a/userscripts/style-webtoons.js b/userscripts/style-webtoons.js deleted file mode 100644 index 31e867b..0000000 --- a/userscripts/style-webtoons.js +++ /dev/null @@ -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; -}`); -})();