remove custom forum style, add twitter shortcut

This commit is contained in:
NunoSempere 2024-03-15 17:55:38 -03:00
parent 7eaa3fc29b
commit 8a091dd1bf
2 changed files with 4 additions and 0 deletions

View File

@ -31,6 +31,7 @@ int shortcut_expand(const char* uri, char* output)
strcpy(tmp_output, output);
char* shortcuts[] = {
"!x",
"!fnf",
"!fnc",
"!hn",
@ -38,6 +39,7 @@ int shortcut_expand(const char* uri, char* output)
};
char* expansions[] = {
"https://twitter.com"
"https://forum.nunosempere.com/frontpage",
"https://forum.nunosempere.com/comments",
"https://news.ycombinator.com",

View File

@ -3,6 +3,7 @@
var styles = null;
if (document.domain == "forum.effectivealtruism.org") {
/*
styles = `
.Layout-main {
margin-left: 100px;
@ -23,6 +24,7 @@ if (document.domain == "forum.effectivealtruism.org") {
styleSheet.innerText = styles;
document.head.appendChild(styleSheet);
console.log("Style changed");
*/
}
if (document.domain == "mail.proton.me") {