         (>=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))

;; Time-stamp: <2017-09-07 12:39:04 kmodi>

;; Eww - Emacs browser (needs emacs 24.4 or higher)


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