Add bookmarks

This commit is contained in:
Yan Lin 2025-08-11 12:07:08 +09:00
parent 9780c113c6
commit dd10e16eac
4 changed files with 57 additions and 2 deletions

View file

@ -443,6 +443,13 @@ The fonts are automatically installed and configured system-wide through the nix
- Enhanced tracking protection active
- All telemetry and experiments disabled
- Pocket integration removed
- Firefox View completely disabled (button hidden via userChrome.css)
### UI Customizations:
- Firefox View functionality and button removed entirely
- Password manager and form autofill disabled
- Search suggestions disabled for privacy
- Sidebar features hidden
### Usage:
```bash

View file

@ -50,6 +50,19 @@
}
];
}
{
name = "Scholar";
bookmarks = [
{
name = "OpenReview";
url = "https://openreview.net/";
}
{
name = "CMT";
url = "https://cmt3.research.microsoft.com/Conference/Recent";
}
];
}
{
name = "RSS";
url = "https://rss.nas.yanlincs.com";

View file

@ -111,8 +111,8 @@
];
};
daki3 = {
session = "DAKI3";
daki3c = {
session = "DAKI3-C";
description = "DAKI3 course";
windows = [
{
@ -132,6 +132,20 @@
];
};
daki3g = {
session = "DAKI3-G";
description = "DAKI3 group supervision";
windows = [
{
name = "group";
path = "/Users/yanlin/Documents/Projects/DAKI3 Semester Project Group";
ai = true;
git = true;
shell = false;
}
];
};
matmeet = {
session = "MaterialMeet";
description = "Material Meeting Slides";

View file

@ -1,6 +1,20 @@
{ config, pkgs, lib, ... }@args:
{
# Create userChrome.css to hide Firefox View button
home.file.".mozilla/firefox/yanlin/chrome/userChrome.css".text = ''
/* Hide Firefox View button */
#firefox-view-button {
display: none !important;
}
/* Also hide from tab context menu */
#context_moveTabOptions > menuitem[data-l10n-id="tab-context-send-tabs-to-device"] + menuseparator,
#context_moveTabOptions > menuitem[command="Browser:SendTabToDevice"] {
display: none !important;
}
'';
programs.firefox = {
enable = true;
@ -132,6 +146,10 @@
# Hide UI elements
"browser.tabs.firefox-view" = false;
"browser.tabs.firefox-view-max-entries" = 0;
"browser.tabs.firefox-view-next" = false;
"browser.firefox-view.feature-tour" = "{\"screen\":\"\",\"complete\":true}";
"browser.firefox-view.view-count" = 0;
"identity.fxaccounts.enabled" = false;
# Disable all search suggestions
@ -160,6 +178,9 @@
# Language and translation settings
"intl.accept_languages" = "en-US,en,zh-CN,zh-TW,zh-HK,zh"; # Accept English and all Chinese variants
"browser.translations.automaticallyPopup" = false; # Prevent automatic translation suggestions
# Enable userChrome.css support
"toolkit.legacyUserProfileCustomizations.stylesheets" = true;
};
};
};