diff options
author | NunoSempere <nuno.semperelh@protonmail.com> | 2024-03-15 17:55:38 -0300 |
---|---|---|
committer | NunoSempere <nuno.semperelh@protonmail.com> | 2024-03-15 17:56:33 -0300 |
commit | 8a091dd1bff59bc7baa53da59666e2a5baece943 (patch) | |
tree | 7f879410aa13bbe7a52ba6c1c7a757142efb00b1 | |
parent | 7eaa3fc29bf8b714e2e181609504b4a8e75b8b1a (diff) |
remove custom forum style, add twitter shortcut
-rw-r--r-- | plugins/shortcuts/shortcuts.c | 2 | ||||
-rw-r--r-- | plugins/style/style.js | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/plugins/shortcuts/shortcuts.c b/plugins/shortcuts/shortcuts.c index 1643b25..369768a 100644 --- a/plugins/shortcuts/shortcuts.c +++ b/plugins/shortcuts/shortcuts.c @@ -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", diff --git a/plugins/style/style.js b/plugins/style/style.js index c9e3f83..0fba49f 100644 --- a/plugins/style/style.js +++ b/plugins/style/style.js @@ -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") { |