Breaks stripe elements checkout

Prerequisites

  • Can you reproduce the problem in a fresh firefox profile with only ClearURLs?
  • Are you running the latest version of ClearURLs?
  • Are you have changed settings under about:config? (no settings changed)

Description

Causes stripe elements javascript throw an exception causing total failure of purchasing products with stripe and this extension. I've notified stripe and advised/suggested the error is handled better, but at the same time, this extension should still work to let me check out.

I'm not 100% sure what exactly is being removed in stripe's network request, but it's definitely causing the fatal error.

Steps to Reproduce

  1. Visit https://www.tindie.com/
  2. Add any item to your basket, head to checkout
  3. Once you're on the place order page, stripe will try to load and CleanURLs will kick in (this url for reference: https://www.tindie.com/checkout/placeorder/ )

Look for Uncaught Error: It looks like Stripe.js was not loaded correctly.

Note that this problem is not isolated to tindie.com - I encountered it on other sites that use stripe elements.

Expected behavior:

For stripe's request to behave normally.

System

  • Version: MacOS 10.15.5 (19F101)

  • Platform: Darwin unicornzx.cable.virginmedia.net 19.5.0 Darwin Kernel Version 19.5.0: Tue May 26 20:41:44 PDT 2020; root:xnu-6153.121.2~2/RELEASE_X86_64 x86_64

  • Country: United Kingdom

Log

Attached.ClearURLsLogExport.json