remove custom forum style, add twitter shortcut
This commit is contained in:
parent
7eaa3fc29b
commit
8a091dd1bf
|
@ -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",
|
||||
|
|
|
@ -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") {
|
||||
|
|
Loading…
Reference in New Issue
Block a user