rosenrot-browser

A hackable browser based on Webkitgtk
Log | Files | Refs | README

commit 4784a0ad26df383d92a4fd23ed6f2360cb0a1214
parent 3beef82ca6af9c6648ef9bfd95878f85cbb90eb5
Author: NunoSempere <nuno.sempere@protonmail.com>
Date:   Tue, 20 Jun 2023 08:30:36 -0600

changes to protonmail style; semicolon to hide bar.

Diffstat:
Mconfig.h | 2+-
Mplugins/style/style.c | 2+-
Mplugins/style/style.h | 2+-
Mplugins/style/style.js | 3+++
Mrose | 0
5 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/config.h b/config.h @@ -68,7 +68,7 @@ static struct { { CTRL, KEY(w), close_tab }, { 0x0, KEY(F11), toggle_fullscreen }, { CTRL, KEY(l), show_searchbar }, - { CTRL, KEY(j), hide_bar }, + { CTRL, KEY(semicolon), hide_bar }, { CTRL, KEY(f), show_finder }, { CTRL, KEY(n), finder_next }, { CTRL | SFT, KEY(N), finder_prev }, diff --git a/plugins/style/style.c b/plugins/style/style.c @@ -1,7 +1,7 @@ #include <stdio.h> #include <stdlib.h> #include <string.h> -#define STYLE_N 3943 + 1 +#define STYLE_N 3986 + 1 void read_style_js(char* string) { diff --git a/plugins/style/style.h b/plugins/style/style.h @@ -1,7 +1,7 @@ #ifndef STYLE #define STYLE -#define STYLE_N 3943 + 1 +#define STYLE_N 3986 + 1 void read_style_js(char* string); diff --git a/plugins/style/style.js b/plugins/style/style.js @@ -27,6 +27,7 @@ if (document.domain == "forum.effectivealtruism.org"){ if (document.domain == "mail.proton.me" ){ styles = ` + /* .item-container-row.read, .item-container.read { background-color: white; } @@ -36,6 +37,8 @@ if (document.domain == "mail.proton.me" ){ .selection .item-container-row.item-is-selected, .item-container.item-is-selected { background-color: var(--selection-background-color) !important; } + zoom: 0.625 !important; + */ ` } if (document.domain == "forum.nunosempere.com" ){ diff --git a/rose b/rose Binary files differ.