e dot dot dot
a mostly about the Internet blog by

home << Programming << Bookmarklets << email this page

March 2024
Sun Mon Tue Wed Thu Fri Sat
         
           

Thu, 09 Nov 2023


Create your own Email This Page bookmarklet

Here's a quick way to send yourself an email containing a link to any page you want to visit again later. You can even enter a price if it was something you were thinking of buying.

Start by clicking to add a bookmark to your browser's toolbar.
For the Name field, enter "Email This Page".
For the URL field, copy all of the code below, and paste it in.
Then replace YOUR.EMAIL.ADDRESS@HERE.COM, with the address of where you always want these emails sent. Finally, click Save.

That's it. Now, no matter what page you're on, you just click your new Email This Page bookmarklet, and it'll prompt for a price, if there's none just click the "OK" button (or press the Enter key), and you'll be taken to your email client in a formatted email with a prefilled Subject and Body.

The Subject will be the title of the page you're on.
And the Body will contain a link to the page, and if you entered a price, it'll show up below the link for reference. Then just click Send.

If you want to exit without doing anything, just click Cancel.

Note: Some web pages do their own javascript stuff that might cause your new "Email This Page" bookmarklet to not work as expected, or at all, so just be aware of that.

Hope you find it as useful as I do.

============== code below ==============

javascript:(function(){ea='YOUR.EMAIL.ADDRESS@HERE.COM';per="";price=prompt("Enter the price or press Enter key: ");prtxt="" ;if (price === null) {} else {if (price != "") {per='/ea';prtxt=escape('\r\n\r\n')+"$"+price};lhref=location.href;location.href='mailto:'+ea+'?subject='+escape(document.title)+'&body='+escape(lhref)+prtxt+per};})();

============== code above ==============


posted at: 12:32pm on 09-Nov-2023
path: /Programming/Bookmarklets | permalink


0 writeback(s)

comment...

 
Name:
URL/Email: (optional)
[http://... or mailto:you@wherever]
Title: (optional)
Comments:
Please enter the anti-spam code shown below: 

home << Programming << Bookmarklets << email this page

March 2024
Sun Mon Tue Wed Thu Fri Sat
         
           


Categories
 - blog home

 - Announcements  (0)
 - Annoyances  (0)
 - Career_Advice  (0)
 - Domains  (0)
 - Downloads  (3)
 - Ecommerce  (0)
 - Fitness  (0)
 - Home_and_Garden  (0)
     - Cooking  (0)
     - Tools  (0)
 - Humor  (0)
 - Notices  (0)
 - Observations  (1)
 - Oddities  (2)
 - Online_Marketing  (0)
     - Affiliates  (1)
     - Merchants  (1)
 - Policy  (3743)
 - Programming  (0)
     - Bookmarklets  (1)
     - Browsers  (1)
     - DHTML  (0)
     - Javascript  (3)
     - PHP  (0)
     - PayPal  (1)
     - Perl  (37)
          - blosxom  (0)
     - Unidata_Universe  (22)
 - Random_Advice  (1)
 - Reading  (0)
     - Books  (0)
     - Ebooks  (0)
     - Magazines  (0)
     - Online_Articles  (5)
 - Resume_or_CV  (1)
 - Reviews  (2)
 - Rhode_Island_USA  (0)
     - Providence  (1)
 - Shop  (0)
 - Sports  (0)
     - Football  (0)
          - Cowboys  (0)
          - Patriots  (0)
     - Futbol  (0)
          - The_Rest  (0)
          - USA  (0)
 - Technology  (1049)
 - Windows  (1)
 - Woodworking  (0)


Archives
 -2024  March  (164)
 -2024  February  (168)
 -2024  January  (146)
 -2023  December  (140)
 -2023  November  (174)
 -2023  October  (156)
 -2023  September  (161)
 -2023  August  (49)
 -2023  July  (40)
 -2023  June  (44)
 -2023  May  (45)
 -2023  April  (45)
 -2023  March  (53)
 -2023  February  (40)


My Sites

 - Millennium3Publishing.com

 - SponsorWorks.net

 - ListBug.com

 - TextEx.net

 - FindAdsHere.com

 - VisitLater.com