tweak: try ignoring twitter

This commit is contained in:
NunoSempere 2023-05-05 19:42:19 -04:00
parent 5331760a83
commit 230f472e3a
4 changed files with 15 additions and 3 deletions

View File

@ -42,7 +42,7 @@ int libre_redirect(const char* uri, char* output)
"https://medium.com", "https://medium.com",
"https://translate.google.com", "https://translate.google.com",
"https://www.bloomberg.com", "https://www.bloomberg.com",
"https://twitter.com" // "https://twitter.com"
}; };
char* alternatives[] = { char* alternatives[] = {
@ -52,7 +52,7 @@ int libre_redirect(const char* uri, char* output)
"https://scribe.rip", "https://scribe.rip",
"https://simplytranslate.org/", "https://simplytranslate.org/",
"https://archive.is/https://www.bloomberg.com", "https://archive.is/https://www.bloomberg.com",
"https://nitter.net" // "https://nitter.net"
}; };
len = sizeof(annoying_sites) / sizeof(annoying_sites[0]); len = sizeof(annoying_sites) / sizeof(annoying_sites[0]);

View File

@ -0,0 +1,9 @@
#!/usr/bin/env xdg-open
[Desktop Entry]
Version=1.0
Type=Application
Terminal=false
Exec=/home/loki/Documents/core/software/fresh/C/rose-browser/rosenrot/user-scripts/ubuntu-20.04/rose.sh %u
Name=Rose
Comment=Minimalistic browser
Icon=/home/loki/Documents/core/software/fresh/C/rose-browser/rosenrot/user-scripts/ubuntu-20.04/rose-images/rose-desktop-icon.png

View File

@ -3,7 +3,7 @@
Version=1.0 Version=1.0
Type=Application Type=Application
Terminal=false Terminal=false
Exec= /usr/bin/rose %u Exec=/bin/rose %u
Name=Rose Name=Rose
Comment=Minimalistic browser Comment=Minimalistic browser
Icon=/home/loki/Documents/core/software/fresh/C/rose-browser/rosenrot/user-scripts/ubuntu-20.04/rose-images/rose-desktop-icon.png Icon=/home/loki/Documents/core/software/fresh/C/rose-browser/rosenrot/user-scripts/ubuntu-20.04/rose-images/rose-desktop-icon.png

View File

@ -0,0 +1,3 @@
#!/bin/sh
GIO_MODULE_DIR=/usr/lib/x86_64-linux-gnu/gio/modules/ /bin/rose "$1"