         (>=e "26.0"
             (let* ((pt-on-url (shr-url-at-point nil))
                    (pt-on-image (shr-url-at-point :image-url)))
-              (when (and (not pt-on-url)
-                         (not pt-on-image))
+              (unless (or pt-on-url
+                          pt-on-image)
                 (setq page-url t)) ;Get page URL if point is neither on URL nor image
               (if page-url
                   (message "Copied page url: %s" (eww-copy-page-url))

        (catch 'break
          (while (<= n max-trials)
            (goto-char (point-min))     ;Go to the top of the buffer
            (re-search-forward "[[:digit:]]+[[:blank:]]+results[[:blank:]]*$" nil :noerror) ;Go to the start of results
            (shr-next-link)             ;Go to the first search result
            (when (eww-links-at-point)
              (throw 'break nil))

    (bind-to-modi-map "e" #'eww-open-file))
  :config
  (progn
    ;; (setq eww-search-prefix "https://duckduckgo.com/html/?q=")
    (setq eww-search-prefix "https://www.google.com/search?q=")
    (setq eww-download-directory "~/downloads")
    (setq eww-form-checkbox-symbol "[ ]")
    ;; (setq eww-form-checkbox-symbol "☐") ; Unicode hex 2610
    (setq eww-form-checkbox-selected-symbol "[X]")
    ;; (setq eww-form-checkbox-selected-symbol "☑") ; Unicode hex 2611
    ;; Improve the contract of pages like Google results
