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 23648 times)

Offline talmid chuchem

  • Dansdeals Lifetime Platinum Elite
  • *******
  • Join Date: Oct 2014
  • Posts: 1129
  • Total likes: 67
  • DansDeals.com Hat Tips 5
    • View Profile

Offline myi

  • Dansdeals Lifetime 20K Presidential Platinum Elite
  • ********
  • Join Date: Feb 2015
  • Posts: 23521
  • Total likes: 2418
  • DansDeals.com Hat Tips 356
  • Gender: Male
    • View Profile
  • Location: InMyPants! 🙈
  • Programs: 2Many2List!
Re: Useful Bookmarklets (browser bookmarks that do cool things)
« Reply #21 on: May 17, 2017, 09:38:47 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.
Wow i must say that it pretty cool, i just got around to plug in all that info of yours.
 Dan should definitely place this bookmark addition to his stickied thread on the amazon deal thread.
Quote
Need your LG Exalt fixed? Cracked in half? Water damage? Or parts to repair yourself. 347.201.2501

Offline Eliyohu

  • Dansdeals Lifetime Platinum Elite
  • *******
  • Join Date: Oct 2015
  • Posts: 1003
  • Total likes: 83
  • DansDeals.com Hat Tips 2
    • View Profile
Re: Useful Bookmarklets (browser bookmarks that do cool things)
« Reply #22 on: May 17, 2017, 10:58:01 PM »
[quote name="cholent" post=1709021 timestamp=1490985208]
Another way to bypass paywalls is by pressing F12 when you're on the page, then pasting this into the console:

javascript:window.location="https://m.facebook.com/l.php?u="+encodeURIComponent(window.location.href);
[/quote]
Or save as a bookmark

Offline Dan

  • Administrator
  • Dansdeals Lifetime 50K Diamond Elite
  • **********
  • Join Date: May 2008
  • Posts: 67554
  • Total likes: 16846
  • DansDeals.com Hat Tips 16442
  • Gender: Male
    • View Profile
  • Location: CLE
  • Programs: UA GS, AA EXP, DL Dirt, Hyatt Glob, Fairmont Lifetime Plat, DD Diamond, Blocked By @NeriaKraus
Re: Useful Bookmarklets (browser bookmarks that do cool things)
« Reply #23 on: May 17, 2017, 11:12:19 PM »
WSJ paywall bypass:
Code: [Select]
javascript:window.location="https://m.facebook.com/l.php?u="+encodeURIComponent(window.location.href);
Need to do it in Chrome Incognito.
« Last Edit: November 17, 2017, 09:58:26 AM by Dan »
Save your time, I don't answer PM. Post it in the forum and a dedicated DDF'er will get back to you as soon as possible.

Offline Dan

  • Administrator
  • Dansdeals Lifetime 50K Diamond Elite
  • **********
  • Join Date: May 2008
  • Posts: 67554
  • Total likes: 16846
  • DansDeals.com Hat Tips 16442
  • Gender: Male
    • View Profile
  • Location: CLE
  • Programs: UA GS, AA EXP, DL Dirt, Hyatt Glob, Fairmont Lifetime Plat, DD Diamond, Blocked By @NeriaKraus
Re: Useful Bookmarklets (browser bookmarks that do cool things)
« Reply #24 on: May 17, 2017, 11:14:11 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!
Save your time, I don't answer PM. Post it in the forum and a dedicated DDF'er will get back to you as soon as possible.

Offline Dan

  • Administrator
  • Dansdeals Lifetime 50K Diamond Elite
  • **********
  • Join Date: May 2008
  • Posts: 67554
  • Total likes: 16846
  • DansDeals.com Hat Tips 16442
  • Gender: Male
    • View Profile
  • Location: CLE
  • Programs: UA GS, AA EXP, DL Dirt, Hyatt Glob, Fairmont Lifetime Plat, DD Diamond, Blocked By @NeriaKraus
Re: Useful Bookmarklets (browser bookmarks that do cool things)
« Reply #25 on: May 17, 2017, 11:19:43 PM »
Here's a great one from BAHayman. Makes the FFN field editable on a UA reservation after clicking on edit traveler info.

Code: [Select]
javascript:(function () { jQuery('#ctl00_ContentInfo_spanFreqFlyer').replaceWith('<table><tbody><tr><td style="vertical-align:bottom" colspan="2"></td></tr><tr style="vertical-align:bottom"><td style="padding-right:1em"><label><span id="ctl00_ContentInfo_FrequentFlyer_RewardProgType_lblField" class="Content">Program:</span><br></label><select name="ctl00$ContentInfo$FrequentFlyer$RewardProgType$cboRewardProg" id="ctl00_ContentInfo_FrequentFlyer_RewardProgType_cboRewardProg" class="Content"><option value="5">Select program</option><option value="7">United MileagePlus</option><option value="118">Adria Miles&amp;More</option><option value="113">Aegean Miles &amp; Bonus</option><option value="120">Aer Lingus Gold Circle</option><option value="8">Air Canada Aeroplan</option><option value="9">Air China Phoenix Miles</option><option value="103">Air New Zealand Airpoints</option><option value="94">Amtrak Guest Rewards</option><option value="29">ANA Mileage Club</option><option value="104">Asiana Club</option><option value="105">Austrian Miles &amp; More</option><option value="115">Avianca LifeMiles</option><option value="133">Azul Linhas A%C3%A9reas Tudo Azul</option><option value="123">Brussels Miles &amp; More</option><option value="117">COPA MileagePlus</option><option value="124">Croatia Miles &amp; More</option><option value="106">EgyptAir Plus</option><option value="130">Ethiopian ShebaMiles</option><option value="3">EVA Infinity MileageLands</option><option value="129">JetPrivilege</option><option value="107">LOT Polish Airlines Miles &amp; More</option><option value="26">Lufthansa Miles&amp;More</option><option value="33">SAS EuroBonus</option><option value="131">Shenzhen Phoenix Miles</option><option value="109">Singapore Airlines KrisFlyer</option><option value="110">South African Airways Voyager</option><option value="126">SWISS Miles &amp; More</option><option value="127">TACA LifeMiles</option><option value="34">TAP Victoria</option><option value="35">THAI Royal Orchid Plus</option><option value="111">Turkish Airlines Miles &amp; Smiles</option><option value="134">Air India Flying Returns</option></select></td><td><label><span id="ctl00_ContentInfo_FrequentFlyer_RewardProgNumber_lblField" class="Content">Account Number:</span><br><input name="ctl00$ContentInfo$FrequentFlyer$RewardProgNumber$txtRewardNum" type="text" maxlength="20" size="20" id="ctl00_ContentInfo_FrequentFlyer_RewardProgNumber_txtRewardNum"></label></td></tr></tbody></table>'); })();
Save your time, I don't answer PM. Post it in the forum and a dedicated DDF'er will get back to you as soon as possible.

Offline mb1

  • Dansdeals Platinum Elite + Lifetime Gold Elite
  • ******
  • Join Date: Jan 2013
  • Posts: 920
  • Total likes: 17
  • DansDeals.com Hat Tips 23
    • View Profile
Re: Useful Bookmarklets (browser bookmarks that do cool things)
« Reply #26 on: May 19, 2017, 11:47:31 AM »
WSJ paywall bypass:
Code: [Select]
javascript:window.location="https://m.facebook.com/l.php?u="+encodeURIComponent(window.location.href);
Is there a way to do this without using facebook?

Online ExGingi

  • Dansdeals Lifetime 10K Presidential Platinum Elite
  • *******
  • Join Date: Nov 2015
  • Posts: 15575
  • Total likes: 7653
  • DansDeals.com Hat Tips 19
    • View Profile
  • Location: 770
  • Programs: בשורת הגאולה. From Exile to Redemption. GIYF. AAdvantage Executive PlatinumŽ
Re: Useful Bookmarklets (browser bookmarks that do cool things)
« Reply #27 on: November 17, 2017, 12:22:35 PM »
https://github.com/njuljsong/wsjUnblock

Just install and then you can just click on any/all WSJ and WP links without thinking twice (in Chrome)

For Firefox: https://addons.mozilla.org/en-US/firefox/addon/bypasspaywalls/
I've been waiting over 5 years with bated breath for someone to say that!
-- Dan

Online aygart

  • Dansdeals Lifetime 10K Presidential Platinum Elite
  • *******
  • Join Date: May 2008
  • Posts: 17360
  • Total likes: 14274
  • DansDeals.com Hat Tips 14
    • View Profile
    • Lower Watt Energy Brokers
  • Programs: www.lowerwatt.com
Re: Useful Bookmarklets (browser bookmarks that do cool things)
« Reply #28 on: November 17, 2017, 01:06:01 PM »
https://github.com/njuljsong/wsjUnblock

Just install and then you can just click on any/all WSJ and WP links without thinking twice (in Chrome)

For Firefox: https://addons.mozilla.org/en-US/firefox/addon/bypasspaywalls/
** If WSJ stops working, goto options, uncheck WSJ, hit save, then re-check it, and hit save.
Feelings don't care about your facts

Offline shapsam

  • Dansdeals Presidential Platinum Elite
  • ********
  • Join Date: Feb 2017
  • Posts: 3017
  • Total likes: 634
  • DansDeals.com Hat Tips 11
    • View Profile
Re: Useful Bookmarklets (browser bookmarks that do cool things)
« Reply #29 on: June 02, 2019, 02:15:29 PM »
WSJ paywall bypass:
Code: [Select]
javascript:window.location="https://m.facebook.com/l.php?u="+encodeURIComponent(window.location.href);
Need to do it in Chrome Incognito.
Not working for me. Any other way to bypass?

Offline st1575

  • Dansdeals Bronze Elite
  • *
  • Join Date: Jan 2013
  • Posts: 36
  • Total likes: 7
  • DansDeals.com Hat Tips 0
    • View Profile
Re: Useful Bookmarklets (browser bookmarks that do cool things)
« Reply #30 on: June 03, 2019, 07:24:41 PM »
Not working for me. Any other way to bypass?

To mimic the Bypass Paywalls addon/extension:

Code: [Select]
javascript:window.location=window.location.href+"?mod=rsswn";

Offline shapsam

  • Dansdeals Presidential Platinum Elite
  • ********
  • Join Date: Feb 2017
  • Posts: 3017
  • Total likes: 634
  • DansDeals.com Hat Tips 11
    • View Profile
Re: Useful Bookmarklets (browser bookmarks that do cool things)
« Reply #31 on: June 04, 2019, 01:47:24 PM »
To mimic the Bypass Paywalls addon/extension:

Code: [Select]
javascript:window.location=window.location.href+"?mod=rsswn";
This works, thanks!

Offline Randomex

  • Dansdeals Platinum Elite
  • ****
  • Join Date: Aug 2018
  • Posts: 279
  • Total likes: 740
  • DansDeals.com Hat Tips 0
  • Gender: Male
    • View Profile
  • Location: Lakewood
  • Programs: MSPaint, Notepad, Firefox, VLC Media Player - Old sig quote was found in Reb Mendel and His Wisdom
Re: Useful Bookmarklets (browser bookmarks that do cool things)
« Reply #32 on: February 14, 2020, 05:06:47 AM »
Has anyone asked a LOR about bypassing paywalls?
Do you want to play a board game, digitally or in Lakewood NJ? PM me. (Can be asynchronous, i.e. take turns whenever)

Offline chief_mag

  • Dansdeals Platinum Elite
  • ****
  • Join Date: Feb 2019
  • Posts: 368
  • Total likes: 72
  • DansDeals.com Hat Tips 1
    • View Profile
Re: Useful Bookmarklets (browser bookmarks that do cool things)
« Reply #33 on: March 03, 2020, 02:50:24 PM »
Is the UA bookmarklet dead? Don't see any options to "edit traveler info".


Offline chief_mag

  • Dansdeals Platinum Elite
  • ****
  • Join Date: Feb 2019
  • Posts: 368
  • Total likes: 72
  • DansDeals.com Hat Tips 1
    • View Profile
Re: Useful Bookmarklets (browser bookmarks that do cool things)
« Reply #34 on: March 04, 2020, 09:02:26 AM »

Is the UA bookmarklet dead? Don't see any options to "edit traveler info".
Bump.
Accepting PMs if necessary :)

Close relative has a flight tomorrow, and trying to help them out.

Offline justmeha

  • Dansdeals Lifetime Platinum Elite
  • *******
  • Join Date: Feb 2019
  • Posts: 1505
  • Total likes: 150
  • DansDeals.com Hat Tips 9
    • View Profile
Re: Useful Bookmarklets (browser bookmarks that do cool things)
« Reply #35 on: April 26, 2021, 01:20:16 AM »
any way to use bookmarklets on Oprah phone app?

Offline Dan

  • Administrator
  • Dansdeals Lifetime 50K Diamond Elite
  • **********
  • Join Date: May 2008
  • Posts: 67554
  • Total likes: 16846
  • DansDeals.com Hat Tips 16442
  • Gender: Male
    • View Profile
  • Location: CLE
  • Programs: UA GS, AA EXP, DL Dirt, Hyatt Glob, Fairmont Lifetime Plat, DD Diamond, Blocked By @NeriaKraus
Re: Useful Bookmarklets (browser bookmarks that do cool things)
« Reply #36 on: October 06, 2022, 10:11:51 PM »
WSJ paywall bypass:
Code: [Select]
javascript:window.location="https://m.facebook.com/l.php?u="+encodeURIComponent(window.location.href);
Need to do it in Chrome Incognito.
Or just use this for just about everything.
https://gitlab.com/magnolia1234/bypass-paywalls-chrome-clean
Save your time, I don't answer PM. Post it in the forum and a dedicated DDF'er will get back to you as soon as possible.

Offline st1575

  • Dansdeals Bronze Elite
  • *
  • Join Date: Jan 2013
  • Posts: 36
  • Total likes: 7
  • DansDeals.com Hat Tips 0
    • View Profile
Re: Useful Bookmarklets (browser bookmarks that do cool things)
« Reply #37 on: October 06, 2022, 10:58:36 PM »
Or just use this for just about everything.
https://gitlab.com/magnolia1234/bypass-paywalls-chrome-clean

BPC is excellent. There is also a version for FF:

https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clean
https://addons.mozilla.org/firefox/addon/bypass-paywalls-clean

and even a "filters" version for use with uBlock Origin:

https://gitlab.com/magnolia1234/bypass-paywalls-clean-filters

The latter is really useful for FF on Android where extensions/add-ons are restricted (UBO is allowed!).

Offline 4yourinfo

  • Dansdeals Platinum Elite + Lifetime Gold Elite
  • ******
  • Join Date: Feb 2013
  • Posts: 750
  • Total likes: 103
  • DansDeals.com Hat Tips 4
    • View Profile
  • Location: usa
Re: Useful Bookmarklets (browser bookmarks that do cool things)
« Reply #38 on: May 11, 2023, 01:29:53 AM »
amex offers saves all offers

javascript:btns=[...document.querySelectorAll('.offer-cta')].filter(b => b.textContent === 'Add to Card');c=()=>{ b = btns.pop(); if (!b) return console.log('added all!'); b.click(); setTimeout(c, Math.random() * 1500 + 300) };c();

Offline Jojo202

  • Dansdeals Platinum Elite + Lifetime Silver Elite
  • *****
  • Join Date: Jun 2020
  • Posts: 607
  • Total likes: 205
  • DansDeals.com Hat Tips 0
    • View Profile
  • Location: Brooklyn, NY
Re: Useful Bookmarklets (browser bookmarks that do cool things)
« Reply #39 on: May 11, 2023, 01:48:16 PM »
amex offers saves all offers

javascript:btns=[...document.querySelectorAll('.offer-cta')].filter(b => b.textContent === 'Add to Card');c=()=>{ b = btns.pop(); if (!b) return console.log('added all!'); b.click(); setTimeout(c, Math.random() * 1500 + 300) };c();
https://cardpointers.com/extension/
Also does chase offers, but can get annoying.