summary refs log tree commit diff
path: root/mixins/firefox/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'mixins/firefox/default.nix')
-rw-r--r--mixins/firefox/default.nix17
1 files changed, 17 insertions, 0 deletions
diff --git a/mixins/firefox/default.nix b/mixins/firefox/default.nix
index 08233eb..977de28 100644
--- a/mixins/firefox/default.nix
+++ b/mixins/firefox/default.nix
@@ -284,6 +284,23 @@ in
                 iconUpdateURL = "https://invidious.io/favicon.ico";
                 definedAliases = ["!yt"];
               };
+
+              "Cyberchef" = {
+                urls = [
+                  {
+                    template = ''javascript:q="%s";location.href="https://cyberchef.org/#recipe=Magic(3,false,false,\'\')&input="+btoa(q)'';
+                    params = [
+                      {
+                        name = "q";
+                        value = "{searchTerms}";
+                      }
+                    ];
+                  }
+                ];
+
+                iconUpdateURL = "https://cyberchef.org/favicon.ico";
+                definedAliases = ["!cc"];
+              };
             };
           };