Category Archives: Coding

Add and Activate All Amex Offers in One Click with This Chrome Bookmarklet

Tired of clicking each Amex Offer one by one? Learn how to use a simple bookmarklet to add all available Amex Offers to your card instantly — no coding required.


Instantly Activate All Amex Offers with One Click

If you’ve ever found yourself scrolling through American Express offers, tapping “Add to Card” one by one, you know it’s time-consuming. Luckily, there’s a way that you can add them all at once, almost instantly, with my Chrome browser Bookmarklet.


What Is a Bookmarklet?

A bookmarklet is like a mini-app that lives in your bookmarks bar. It runs a short script on the page you’re viewing — in this case, your Amex Offers page — to automatically activate all eligible offers.

No installations
No login sharing
No technical skills needed


How to Use the Amex Offers Bookmarklet

Here’s how to use this one-click solution to activate your offers:

  1. Drag the button below to your bookmarks bar.
    Add Amex Offers
  2. Log in to your Amex account.
    Go to the Amex Offers section
  3. Scroll down and click “View All” to reveal all available offers
    ⚠️ By default, Amex only loads a limited number of offers — make sure the full Amex Offers list is loaded and visible before using the bookmarklet.
  4. Click the bookmarklet that you just placed in your Bookmarks bar while on the Amex Offers page.
    Sit back and watch it work! It’ll go through and add each eligible offer to your card automatically, while skipping non-offers.

Is This Safe?

Yes. This tool runs only in your browser and does not send any data anywhere. It simply mimics the clicks you’d do manually, but does them for you — faster and easier. Here is the full source code:
javascript:(async()=>{try{let b=[…document.querySelectorAll('button')].filter(btn=>btn.textContent.trim()==='Add to Card');let c=0;for(let i=0;iAdded offer ${c}/${b.length});await new Promise(r=>setTimeout(r,500));}alert(Success! ${c} Amex offer${c!==1?'s':''} added.);}catch(e){console.error(e);alert("Oops! Something went wrong while adding offers. Please try again.");}})();


Pro Tip

If you’ve just added 100 offers, there are likely more offers available that weren’t loaded – the homepage only shows the first 100 offers when you log in.
To reveal more offers:

  1. Refresh your Amex Account Home page.
  2. Visit the Amex Offers section again — the next batch of offers should now appear.
  3. Repeat this process as needed to load all offers.

🔁 Check back regularly! New deals are added frequently. Revisit the Offers page every few weeks and run the bookmarklet again to catch limited-time cashback offers you might otherwise miss.


Stay Updated

Want updates if this script is ever improved or Amex changes the way the buttons are displayed? Bookmark this page or subscribe — I’ll post any updates or improvements here!

[SOLVED] Fixing the Ugly Gray Vertical Line When Printing eBay Invoice / Packing Slip in Chrome

If you sell on eBay, you may have noticed a very annoying eBay / Chrome bug that started to appear in the past few months when trying to print an invoice or packing slip. This is due to a spacer image that eBay uses that is not supposed to be visible in browsers but it is for some reason in Chrome.

ugly-grey-line




If you contact eBay seller support about this issue, they will almost certainly recommend that you switch to a different browser (hardly a perfect solution, since other browsers have different problems with eBay).

After digging into a code a bit, I found the culprit image and wrote a bookmarklet that lets you, with a single click, get rid of the dreaded gray vertical line, so that you can print the packing slip / invoice the way you intended.

To use the bookmarklet,  simply drag and drop the blue button below to your Chrome bookmark bar, go to the eBay invoice preview you are about to print (the one with a line), and click on the bookmarklet. The line should disappear allowing you to print clean looking eBay invoices.

EDIT: It seems that eBay has added an Onload Print function. Before you are able to click the bookmarklet, dismiss the print window, either with Cancel button or by hitting Esc on your keyboard. When you are back to the invoice page, click the bookmarklet in the bookmarks bar to apply the fix, and Ctrl+P or Menu > Print to print the invoices.

Drag and drop this into your Chrome bookmark bar:

Fix Ebay Invoice

Feel free to post suggestions or comments if this is not working or stops working for you (if eBay updates) and I will try to revise the code.

EDIT (May 5th 2016): Thanks to many of my readers who commented with instances where this bookmarklet did not work. Latest change now includes a fix to remove line on “Address labels and invoice/packing slip” page as well. Please delete your old bookmarklet and use the updated one above (blue button).