anchor.diff:                                       :allow-list (match-patterns script))
            (user-scripts script)))))
   
  -(defun make-content-script (&key (matches (error "Matches key is mandatory.")) js css)
  +(defun make-content-script (json)
     "Create a Lisp-friendly content script representation of our WebExtension keys.
   
   MATCHES, JS, and CSS are all keys of the \"content_scripts\" manifest.json keys:
  
positive.code:                                                                   "<all_urls>" "*://*/*"))))
      (make-instance
       'content-script
       :match-pattern (mapcar sanitize-mozilla-regex (uiop:ensure-list matches))
       :files (append (uiop:ensure-list js) (uiop:ensure-list css)))))
  
  
  (defun make-data-url (file &optional mime-type)
  
negative.code:   "Find the best browser action icon using OPTIMAL-HEIGHT of `status-buffer'.
  
  JSON is the parsed extension manifest."
    (handler-case
        (sera:and-let* ((browser-action (gethash "browser_action" json))
                        (default-icon (gethash "default_icon" browser-action)))
          (if (stringp default-icon)
              default-icon
              (rest (first (sort (append (and (gethash "default_icon" browser-action)
                                              (alex:hash-table-alist (gethash "default_icon" browser-action)))
                                         (and (gethash "icons" json)
                                              (alex:hash-table-alist (gethash "icons" json))))
                                 (lambda (a b)
                                   (> (abs (- optimal-height a))
                                      (abs (- optimal-height b))))
                                 :key (alex:compose #'parse-integer #'symbol-name #'first))))))
      (error ()
        (cdr (first (and (gethash "icons" json)
                         (alex:hash-table-alist (gethash "icons" json))))))))
  
  (defun encode-browser-action-icon (json extension-directory)
    "Return the proper <img> HTML with the embedded browser action icon.
  