aboutsummaryrefslogtreecommitdiff
path: root/firefox/policies.json
diff options
context:
space:
mode:
Diffstat (limited to 'firefox/policies.json')
-rw-r--r--firefox/policies.json32
1 files changed, 20 insertions, 12 deletions
diff --git a/firefox/policies.json b/firefox/policies.json
index a6a7726..7a473c7 100644
--- a/firefox/policies.json
+++ b/firefox/policies.json
@@ -84,17 +84,6 @@
}
},
"SearchEngines": {
- "Add": [
- {
- "Name": "Startpage",
- "URLTemplate": "https://www.startpage.com/sp/search?query={searchTerms}",
- "Method": "GET",
- "IconURL": "https://www.startpage.com/sp/cdn/favicons/favicon--dark.ico",
- "Alias": "@startpage",
- "Description": "Startpage",
- "SuggestURLTemplate": "https://www.startpage.com/sp/search?query={searchTerms}"
- }
- ],
"Remove": [
"Amazon.co.uk",
"Amazon.com.au",
@@ -105,6 +94,25 @@
"Twitter",
"Yahoo"
]
- }
+ },
+ "NoDefaultBookmarks": true,
+ "DisplayBookmarksToolbar": "always",
+ "Bookmarks": [
+ {
+ "Title": "org-store-link",
+ "URL": "javascript:location.href='org-protocol://store-link?url='+encodeURIComponent(location.href)+'&title='+encodeURIComponent(document.title);;",
+ "Placement": "toolbar"
+ },
+ {
+ "Title": "org-capture-todo",
+ "URL": "javascript:location.href='org-protocol://capture?template=t'+'&url='+encodeURIComponent(window.location.href)+'&title='+encodeURIComponent(document.title)+'&body='+encodeURIComponent(window.getSelection());",
+ "Placement": "toolbar"
+ },
+ {
+ "Title": "org-grok",
+ "URL": "javascript:location.href = 'org-protocol://grok?url=' + encodeURIComponent(location.href);",
+ "Placement": "toolbar"
+ }
+ ]
}
}