Add bookmarks
This commit is contained in:
parent
9780c113c6
commit
dd10e16eac
4 changed files with 57 additions and 2 deletions
|
|
@ -443,6 +443,13 @@ The fonts are automatically installed and configured system-wide through the nix
|
||||||
- Enhanced tracking protection active
|
- Enhanced tracking protection active
|
||||||
- All telemetry and experiments disabled
|
- All telemetry and experiments disabled
|
||||||
- Pocket integration removed
|
- 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:
|
### Usage:
|
||||||
```bash
|
```bash
|
||||||
|
|
|
||||||
|
|
@ -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";
|
name = "RSS";
|
||||||
url = "https://rss.nas.yanlincs.com";
|
url = "https://rss.nas.yanlincs.com";
|
||||||
|
|
|
||||||
|
|
@ -111,8 +111,8 @@
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
daki3 = {
|
daki3c = {
|
||||||
session = "DAKI3";
|
session = "DAKI3-C";
|
||||||
description = "DAKI3 course";
|
description = "DAKI3 course";
|
||||||
windows = [
|
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 = {
|
matmeet = {
|
||||||
session = "MaterialMeet";
|
session = "MaterialMeet";
|
||||||
description = "Material Meeting Slides";
|
description = "Material Meeting Slides";
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,20 @@
|
||||||
{ config, pkgs, lib, ... }@args:
|
{ 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 = {
|
programs.firefox = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
|
|
@ -132,6 +146,10 @@
|
||||||
|
|
||||||
# Hide UI elements
|
# Hide UI elements
|
||||||
"browser.tabs.firefox-view" = false;
|
"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;
|
"identity.fxaccounts.enabled" = false;
|
||||||
|
|
||||||
# Disable all search suggestions
|
# Disable all search suggestions
|
||||||
|
|
@ -160,6 +178,9 @@
|
||||||
# Language and translation settings
|
# Language and translation settings
|
||||||
"intl.accept_languages" = "en-US,en,zh-CN,zh-TW,zh-HK,zh"; # Accept English and all Chinese variants
|
"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
|
"browser.translations.automaticallyPopup" = false; # Prevent automatic translation suggestions
|
||||||
|
|
||||||
|
# Enable userChrome.css support
|
||||||
|
"toolkit.legacyUserProfileCustomizations.stylesheets" = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue