Example queries
  • default [108]
    !
    search
    +
    do
    >
    api
    #
    command
    • #help
      help(app, arg) {
      /* Finds help URL for a user query (with symbol) or not */
      app.help();
      if (arg) {
      const { symbol } = app.decodeUserRequest(arg);
      if (symbol) {
      app.find(arg);
      } else {
      app.find(`!? ${arg}`);
      }
      }
      }
    • #add
      add(app, arg) {
      /* Find function to "add a new engine":
      Example usage (spaces matter):
      #add ! ex https://example.org/?search={}
      */
      const [symbol, id, url] = arg.split(" ");
      if (symbol && id && url) {
      app.addEngine(app.getUserSymbols(), symbol, id, url);
      }
      }
    • #del
      del(app, arg) {
      /* Find function to "delete an existing engine":
      Example usage (spaces matter):
      #del ! ex
      */
      let [symbol, id] = arg.split(" ");
      if (symbol && id) {
      app.delEngine(app.getUserSymbols(), symbol, id);
      }
      }
    • #export
      export(app, arg) {
      /* Export userSymbols as data:json to a goog.space */
      const userSymbols = app.getUserSymbols();
      app.find(`+data-json ${JSON.stringify(userSymbols)}`);
      }
    • #import
      import(app, jsonObjOrStr) {
      /* Import user symbols from a JSON Object or String */
      if (jsonObjOrStr) {
      app.importUserSymbols(jsonObjOrStr);
      }
      }
    user [0]
    !
    search
    +
    do
    &
    build
    >
    api
    #
    command
    sync
    Import JSON data
    Export JSON data
    Syncronization flow
    # Export (save)
    1. Copy JSON data of your user settings
    2. Save as a new entry for this site, in your usual browser password manager
    2. Have the password manager, like for password, synchronise the data between your devices

    # Import (for a new device/browser)
    1. when saved, prefill the import input, from the password manager, like for a password (it is your "private user search engines" after all)
    2. Click the import button, to add all engines

    # Recommendations:
    - Always import first, before editing your exising search engines
    - Always export/(auto,manual)sync to your (browser) password manager, after any edit