Topic Wiki

Bookmarklets are kind of a cross between bookmarks and browser extension - they don't need to be installed; they look just like bookmarks on your bookmarks bar, but instead of loading a page when you click them, they do something to/with the current page.

How to Install a Bookmarklet
1) Drag the link to your bookmarks bar.
(Alternatively, you can right click on your browser toolbar, and click "New Bookmark" (in Firefox) or "Add Page" (in Chrome), and paste the link in the "location/URL box.

2) Give it any Name you want (eg: Download Youtube)
3) Save it

How to use a Bookmarklet
Whenever you're on a the page that you want to use it, simply click on that bookmark.

« Last edited by Yehuda57 on May 23, 2017, 11:09:15 AM »

Author Topic: Useful Bookmarklets (browser bookmarks that do cool things)  (Read 5263 times)

Offline etech0

  • Dansdeals Lifetime Presidential Platinum Elite
  • *********
  • Join Date: Dec 2013
  • Posts: 9266
  • Total likes: 285
  • DansDeals.com Hat Tips 1
    • View Profile
  • Location: not lakewood
  • Programs: DDF
Useful Bookmarklets (browser bookmarks that do cool things)
« on: March 08, 2016, 03:14:41 PM »
For those who don't yet know:

Bookmarklets are kind of a cross between bookmarks and browser extension - they don't need to be installed; they look just like bookmarks on your bookmarks bar, but instead of loading a page when you click them, they do something to/with the current page.

Here are a couple to start:

1. PWN Youtube: http://deturl.com/bookmarklet-to-directly-download-videos-from-youtube.asp (warning: not so tzniyus picture)
This one will download any video from youtube, in a number of formats.

How to Install:
The link provides instructions - you drag the link they give you to your bookmarks bar.

If you'd rather not open the link, you can right click on your browser toolbar, and click "New Bookmark" (FF) or "Add Page" (Chrome).

Give it any Name you want (eg: Download Youtube), and for Location/URL enter this:
Code: [Select]
javascript:(function(w,d,x){x=new(window.XMLHttpRequest||ActiveXObject)('Microsoft.XMLHTTP');x.onreadystatechange=function(){if(x.readyState==4){if(x.status==200)d.body.appendChild(d.createElement('script')).src=JSON.parse(x.responseText).query.results.url;else%20console.log('ERR',x.status,x.statusText)}};x.open('GET','//query.yahooapis.com/v1/public/yql?q='+encodeURIComponent('select%20*%20from%20json%20where%20url="http://noflr.deturl.com/l.asp"')+'&format=json');x.send()})(window,document);
Then save it, and you're good to go.

How to use:
Whenever you're on a youtube page you can click the bookmarklet, and it will give you options of file types to download.

« Last Edit: March 08, 2016, 03:26:07 PM by etech0 »
Workflowy. You won't know what you're missing until you try it.

Offline etech0

  • Dansdeals Lifetime Presidential Platinum Elite
  • *********
  • Join Date: Dec 2013
  • Posts: 9266
  • Total likes: 285
  • DansDeals.com Hat Tips 1
    • View Profile
  • Location: not lakewood
  • Programs: DDF
Re: Useful Bookmarklets (browser bookmarks that do cool things)
« Reply #1 on: March 08, 2016, 03:20:19 PM »
2. Now here's one I wrote last night. I call it Get Pretty Link.

Sometimes, you're typing in a Forum (DDF anyone?) and want to write a link to a webpage. You want it to show the title of the page, instead of the URL. You can use write out the [url ] tags but it's a pain in the neck. Here's a better way:

Create a new bookmark on the bar (see above for instructions).  The name can be anything you want (eg: Get Pretty Link), and the Location/URL should be:
Code: [Select]
javascript:window.prompt("Press control-c","[url="+location.href+"]"+document.title+"[/url]");void(0);
Now, when you're on any web page (or even a forum page), you can click that button and then press control-c. Then just paste it into a blank thread, and you'll get a link that looks great.

Example: Useful Bookmarklets (browser bookmarks that do cool things)
« Last Edit: March 08, 2016, 03:55:35 PM by etech0 »
Workflowy. You won't know what you're missing until you try it.

Offline username

  • Dansdeals Presidential Platinum Elite
  • ********
  • Join Date: Jul 2008
  • Posts: 4014
  • Total likes: 260
  • DansDeals.com Hat Tips 9
  • Gender: Male
    • View Profile
  • Location: C Heights
  • Programs: ┌──────────────────┐ │───> Ữ₴ΣЯИΛΜӘ <─── │ └──────────────────┘
Re: Useful Bookmarklets (browser bookmarks that do cool things)
« Reply #2 on: March 08, 2016, 03:52:55 PM »
^^^

Offline bubbles

  • Dansdeals Lifetime Presidential Platinum Elite
  • *********
  • Join Date: Jul 2011
  • Posts: 5047
  • Total likes: 10
  • DansDeals.com Hat Tips 67
    • View Profile
Re: Useful Bookmarklets (browser bookmarks that do cool things)
« Reply #3 on: March 08, 2016, 08:08:35 PM »
I can't even begin to tell you how many of these stuff I use at work. Tamper/Grease Monkey opens up even more possibilities

Offline etech0

  • Dansdeals Lifetime Presidential Platinum Elite
  • *********
  • Join Date: Dec 2013
  • Posts: 9266
  • Total likes: 285
  • DansDeals.com Hat Tips 1
    • View Profile
  • Location: not lakewood
  • Programs: DDF
Re: Useful Bookmarklets (browser bookmarks that do cool things)
« Reply #4 on: March 08, 2016, 09:07:24 PM »
I can't even begin to tell you how many of these stuff I use at work. Tamper/Grease Monkey opens up even more possibilities
Cool! I'd love to hear about some of your favorite ones.

What's Tamper?
Workflowy. You won't know what you're missing until you try it.

Offline bubbles

  • Dansdeals Lifetime Presidential Platinum Elite
  • *********
  • Join Date: Jul 2011
  • Posts: 5047
  • Total likes: 10
  • DansDeals.com Hat Tips 67
    • View Profile
Re: Useful Bookmarklets (browser bookmarks that do cool things)
« Reply #5 on: March 08, 2016, 09:24:44 PM »
Cool! I'd love to hear about some of your favorite ones.

What's Tamper?

They are specific for my job

Tampermonkey It's Greasemonkey for chrome

Offline etech0

  • Dansdeals Lifetime Presidential Platinum Elite
  • *********
  • Join Date: Dec 2013
  • Posts: 9266
  • Total likes: 285
  • DansDeals.com Hat Tips 1
    • View Profile
  • Location: not lakewood
  • Programs: DDF
Re: Useful Bookmarklets (browser bookmarks that do cool things)
« Reply #6 on: March 09, 2016, 10:21:16 AM »
They are specific for my job

Tampermonkey It's Greasemonkey for chrome
nice!
Workflowy. You won't know what you're missing until you try it.

Offline Josef.koney

  • Dansdeals Lifetime Platinum Elite
  • *******
  • Join Date: Nov 2014
  • Posts: 1779
  • Total likes: 3
  • DansDeals.com Hat Tips 0
    • View Profile
Re: Useful Bookmarklets (browser bookmarks that do cool things)
« Reply #7 on: March 09, 2016, 03:50:56 PM »
Does it work on mobile?

Online Aerial Dag

  • Dansdeals Platinum Elite + Lifetime Gold Elite
  • ******
  • Join Date: Jun 2013
  • Posts: 873
  • Total likes: 47
  • DansDeals.com Hat Tips 7
    • View Profile
  • Location: MS Desert
Re: Useful Bookmarklets (browser bookmarks that do cool things)
« Reply #8 on: March 13, 2016, 07:25:38 PM »
My favorite bookmarklet is printerfriendly.
https://www.printfriendly.com/

I like to print out longer article rather than read them online. Typically the print function has large fonts and tons of pictures. Printerfriendly allows you to change font size, remove pictures and remove sections of a webpage just by clicking on them. Helps save paper and makes things easier to read.

Offline Work-for-ur-muny

  • Dansdeals Presidential Platinum Elite
  • ********
  • Join Date: Dec 2014
  • Posts: 3101
  • Total likes: 308
  • DansDeals.com Hat Tips 34
    • View Profile
Re: Useful Bookmarklets (browser bookmarks that do cool things)
« Reply #9 on: March 13, 2016, 07:58:14 PM »
Cool! Thanks for sharing.

Offline etech0

  • Dansdeals Lifetime Presidential Platinum Elite
  • *********
  • Join Date: Dec 2013
  • Posts: 9266
  • Total likes: 285
  • DansDeals.com Hat Tips 1
    • View Profile
  • Location: not lakewood
  • Programs: DDF
Re: Useful Bookmarklets (browser bookmarks that do cool things)
« Reply #10 on: March 13, 2016, 08:13:42 PM »
My favorite bookmarklet is printerfriendly.
https://www.printfriendly.com/

I like to print out longer article rather than read them online. Typically the print function has large fonts and tons of pictures. Printerfriendly allows you to change font size, remove pictures and remove sections of a webpage just by clicking on them. Helps save paper and makes things easier to read.
Nice!

I used to use one called Print What You Like, but this one works better.
Workflowy. You won't know what you're missing until you try it.

Offline yuneeq

  • Dansdeals Lifetime Presidential Platinum Elite
  • *********
  • Join Date: Jan 2013
  • Posts: 5520
  • Total likes: 234
  • DansDeals.com Hat Tips 10
  • Gender: Male
    • View Profile
  • Location: NJ
Re: Useful Bookmarklets (browser bookmarks that do cool things)
« Reply #11 on: March 13, 2016, 09:35:31 PM »
Open Whatsapp web in a new window.

Code: [Select]
javascript:window.open(location.href="https://web.whatsapp.com/", "detab", "alwaysOnTop=1, top=50, toolbar=0, location=0, left=1450, width=450, height=850"); window.close()

Live forever or die trying.

Offline etech0

  • Dansdeals Lifetime Presidential Platinum Elite
  • *********
  • Join Date: Dec 2013
  • Posts: 9266
  • Total likes: 285
  • DansDeals.com Hat Tips 1
    • View Profile
  • Location: not lakewood
  • Programs: DDF
Re: Useful Bookmarklets (browser bookmarks that do cool things)
« Reply #12 on: March 02, 2017, 12:10:19 PM »
I just created a bookmarklet that will make a DD link from any amazon item page, and format it with the title so you can paste it into a DDF post.

Here's the code:
Code: [Select]
javascript:(function(){

    var pattern = new RegExp("(https:\/\/www.amazon.com\/).*([dg]p\/)(?:product\/)?(..........).*", "i");
    var match = location.href.match(pattern);
    var URL = match[1] + "dp/" + match[3] +"/?tag=cl03f-20&smid=ATVPDKIKX0DER";
window.prompt("Press control-c","[url="+URL+"]"+document.title+"[/url]");void(0);

})()

As a reminder, to create a bookmarklet, right click on your bookmarks bar and click "Add page" (if you're in Chrome) or "New bookmark" (Firefox).

For the Name, enter whatever you want (eg: Dan Amazon link), and for the URL/Location enter the code posted above.

Maybe a mod can add it to this thread: When Posting Amazon Deals, Please Make A DD Link

It might need a little tweaking, so let me know if you have a link that it doesn't work on.
« Last Edit: March 02, 2017, 12:34:19 PM by etech0 »
Workflowy. You won't know what you're missing until you try it.

Online stooges44

  • Dansdeals Presidential Platinum Elite
  • ********
  • Join Date: Jan 2017
  • Posts: 4711
  • Total likes: 476
  • DansDeals.com Hat Tips 242
    • View Profile
Re: Useful Bookmarklets (browser bookmarks that do cool things)
« Reply #13 on: March 02, 2017, 01:16:21 PM »
I just created a bookmarklet that will make a DD link from any amazon item page, and format it with the title so you can paste it into a DDF post.

Here's the code:
Code: [Select]
javascript:(function(){

    var pattern = new RegExp("(https:\/\/www.amazon.com\/).*([dg]p\/)(?:product\/)?(..........).*", "i");
    var match = location.href.match(pattern);
    var URL = match[1] + "dp/" + match[3] +"/?tag=cl03f-20&smid=ATVPDKIKX0DER";
window.prompt("Press control-c","[url="+URL+"]"+document.title+"[/url]");void(0);

})()

As a reminder, to create a bookmarklet, right click on your bookmarks bar and click "Add page" (if you're in Chrome) or "New bookmark" (Firefox).

For the Name, enter whatever you want (eg: Dan Amazon link), and for the URL/Location enter the code posted above.

Maybe a mod can add it to this thread: When Posting Amazon Deals, Please Make A DD Link

It might need a little tweaking, so let me know if you have a link that it doesn't work on.

Nice work!
If it's not free shipping it's not worth it.

Online stooges44

  • Dansdeals Presidential Platinum Elite
  • ********
  • Join Date: Jan 2017
  • Posts: 4711
  • Total likes: 476
  • DansDeals.com Hat Tips 242
    • View Profile
Re: Useful Bookmarklets (browser bookmarks that do cool things)
« Reply #14 on: March 03, 2017, 09:13:58 AM »
I just created a bookmarklet that will make a DD link from any amazon item page, and format it with the title so you can paste it into a DDF post.

Here's the code:
Code: [Select]
javascript:(function(){

    var pattern = new RegExp("(https:\/\/www.amazon.com\/).*([dg]p\/)(?:product\/)?(..........).*", "i");
    var match = location.href.match(pattern);
    var URL = match[1] + "dp/" + match[3] +"/?tag=cl03f-20&smid=ATVPDKIKX0DER";
window.prompt("Press control-c","[url="+URL+"]"+document.title+"[/url]");void(0);

})()

As a reminder, to create a bookmarklet, right click on your bookmarks bar and click "Add page" (if you're in Chrome) or "New bookmark" (Firefox).

For the Name, enter whatever you want (eg: Dan Amazon link), and for the URL/Location enter the code posted above.

Maybe a mod can add it to this thread: When Posting Amazon Deals, Please Make A DD Link

It might need a little tweaking, so let me know if you have a link that it doesn't work on.

Used it just now, was awesome, thanks! http://forums.dansdeals.com/index.php?topic=74506.0
If it's not free shipping it's not worth it.