Walmart.com problem..

For support with specific websites

Moderator: trava90

Forum rules
Please always mention the name/domain of the website in question in your topic title.
Please one website per topic thread (to help keep things organized). While behavior on different sites might at first glance seem similar, they are not necessarily caused by the same.

Please try to include any relevant output from the Toolkit Error Console or the Developer Tools Web Console using the following procedure:
  1. Clear any current output
  2. Navigate or refresh the page in question
  3. Copy and paste Errors or seemingly relevant Warnings into a single [ code ] block.
User avatar
Night Wing
Knows the dark side
Knows the dark side
Posts: 5569
Joined: 2011-10-03, 10:19
Location: Piney Woods of Southeast Texas, USA

Re: Walmart.com problem..

Post by Night Wing » 2025-10-31, 16:51

Garland wrote:
2025-10-31, 16:32
I use Pale Moon for my normal surfing browser. I find that Pale Moon doesn't work for making credit card purchases on the majority of vendor sites, so I am resigned to using Firefox for those.
Since you use Firefox. Have you thought of using Waterfox instead of Firefox?

In both of the linux distros I use, Pale Moon is my daily driver. But my backup browser is Waterfox even though Firefox comes installed by default in both MX Linux and Debian.

You might want to check Waterfox out and take it for a "test drive".

https://www.waterfox.net/
MX Linux 25 (Infinity) Xfce w/Pale Moon, Waterfox, Firefox
Linux Debian 13.2 (Trixie) Xfce w/Pale Moon, Waterfox, Firefox

KlarkKentThe3rd
Astronaut
Astronaut
Posts: 598
Joined: 2018-04-20, 20:31

Re: Walmart.com problem..

Post by KlarkKentThe3rd » 2025-10-31, 20:23

Night Wing wrote:
2025-10-31, 16:51
Since you use Firefox. Have you thought of using Waterfox instead of Firefox?

In both of the linux distros I use, Pale Moon is my daily driver. But my backup browser is Waterfox even though Firefox comes installed by default in both MX Linux and Debian.
Off-topic:
You are literally me! PM as main but Waterfox as backup.

User avatar
jobbautista9
Board Warrior
Board Warrior
Posts: 1078
Joined: 2020-11-03, 06:47
Location: Philippines

Re: Walmart.com problem..

Post by jobbautista9 » 2025-11-01, 03:37

Garland wrote:
2025-10-31, 16:32
I would like to continue to disable PerformanceObserver in Pale Moon, but have a white list of sites where PerformanceObserver is enabled. Is an add-on the best way to achieve this? Anyone know of an add-on that can do this?
I've mentioned a way in this thread to do this with add-ons by injecting a polyfill and bypassing CSP (so you don't have to disable that one globally too), though it's technically not a simple "whitelist" of sorts where you can just paste domains or URLs in it and be done with it... If you're still interested and patient to learn I will explain the details below:

You need two addons: Modify HTTP Response and moz-rewrite (I recommend the JSON parsing version). You will also need a basic knowledge of regular expressions or regex/regexp (there are plenty of websites online that let you test your regexp against your test inputs in real time).

As an example I will use Maya's Payment Gateway which I use to pay my ISP bill and unfortunately requires Performance Observers to work. I would target everything under https://payments.maya.ph/v2/checkout?id=, where the id is a random UUID.

In the first add-on you can add the following filter if you don't have any yet:

Code: Select all

[["/payments\\.maya\\.ph/",["/^\\/v2\\/checkout\\?id=.*/",["<head>","<head><script src=\"https://unpkg.com/@fastly/performance-observer-polyfill@2.0.0/polyfill/index.js\"></script>"]]]]
If you need to use the filter editor these are the parameters:
host: /payments\.maya\.ph/
path: /^\/v2\/checkout\?id=.*/
search: <head>
replace:

Code: Select all

<head><script src="https://unpkg.com/@fastly/performance-observer-polyfill@2.0.0/polyfill/index.js"></script>
That should inject the polyfill into the webpage. However the website as a security measure restricts the scripts that can be run from specific domains it trusts in its Content Security Policy, and unpkg.com (which hosts our polyfill) is not among them. So you need moz-rewrite to override this CSP. Assuming you're using the JSON version, you will have to add the following JSON object to your inbound rules file:

Code: Select all

    {
        "url" : "^https?:\/\/(payments\\.maya\\.ph)\/v2\/checkout\\?id=.*$",
        "headers" : {
            "content-security-policy"   : "default-src 'self'; script-src 'self' 'unsafe-inline' 'unsafe-eval' https://unpkg.com https://www.google.com https://www.gstatic.com https://www.googletagmanager.com https://www.google-analytics.com https://ajax.googleapis.com https://ubw33155.jscrambler.com https://wpi-us-05-ea.inappprotection.com https://widget.surveymonkey.com https://payments.maya.ph https://ssl.kaptcha.com https://payments-web-assets.maya.ph https://pldthome.com https://checkouts.maya.ph; style-src 'self' 'unsafe-inline' https://www.gstatic.com https://payments.maya.ph https://ssl.kaptcha.com https://payments-web-assets.maya.ph https://pldthome.com https://checkouts.maya.ph; font-src 'self' https://payments.maya.ph https://ssl.kaptcha.com https://payments-web-assets.maya.ph https://pldthome.com https://checkouts.maya.ph; img-src 'self' data: blob: https://www.gstatic.com https://www.googletagmanager.com https://www.google-analytics.com https://prod.smassets.net https://payments.maya.ph https://ssl.kaptcha.com https://payments-web-assets.maya.ph https://pldthome.com https://checkouts.maya.ph; connect-src 'self' https://www.google.com https://www.googletagmanager.com https://www.google-analytics.com https://api.ipify.org https://ubw33155.jscrambler.com https://wpi-us-05-ea.inappprotection.com https://payments.maya.ph https://ssl.kaptcha.com https://payments-web-assets.maya.ph https://pldthome.com https://checkouts.maya.ph; frame-src *; manifest-src 'self' https://payments.maya.ph https://ssl.kaptcha.com https://payments-web-assets.maya.ph https://pldthome.com https://checkouts.maya.ph; object-src 'none'; media-src 'self'; form-action *; base-uri 'self'"
        }
    }
Due to how the browser's JSON parser works, you will have to double-escape backslashes in the url field if you're escaping a character that is not a forward slash (you don't have to do this in other versions of moz-rewrite). That caveat aside, all this do is add https://unpkg.com to the script-src of the Content-Security-Policy response header. You can also just make it null, but since this is a payment gateway I'd rather be in the safe side. You can probably get away with it on less sensitive sites though, just be aware of the risks involved in disabling CSP that way.

With all of that done we've successfully injected the polyfill, and the website works properly now.
Image

Tired of creating stuff!

Avatar artwork by Shinki669: https://www.pixiv.net/artworks/113645617

XUL add-ons developer. You can find a list of add-ons I manage at http://rw.rs/~job/software.html.

User avatar
Garland
Moonbather
Moonbather
Posts: 56
Joined: 2023-09-26, 20:39

Re: Walmart.com problem..

Post by Garland » 2025-11-03, 18:20

@jobbautista9
Thanks for the technical method.

If there was an add-on with a button on the Toolbar for toggling PerformanceObserver, then my non-technical wife would use it. If the add-on also had a whitelist in its preferences, I would configure this for my wife. The Swarth add-on is a good example of this user interface. But I don't have the coding skill to create such an add-on.

With the current difficulty in per-site customization of PerformanceObserver, my wife and I will just continue to use Firefox for sites that don't work in Pale Moon.

Goodydino
Keeps coming back
Keeps coming back
Posts: 931
Joined: 2017-10-10, 21:20

Re: Walmart.com problem..

Post by Goodydino » 2025-11-03, 18:53

I do not see "Sign in" on the page. I see "Shop now".

User avatar
Garland
Moonbather
Moonbather
Posts: 56
Joined: 2023-09-26, 20:39

Re: Walmart.com problem..

Post by Garland » 2025-11-12, 04:36

Night Wing wrote:
2025-10-31, 16:51
Since you use Firefox. Have you thought of using Waterfox instead of Firefox?

In both of the linux distros I use, Pale Moon is my daily driver. But my backup browser is Waterfox even though Firefox comes installed by default in both MX Linux and Debian.

You might want to check Waterfox out and take it for a "test drive".

https://www.waterfox.net/
I now have an MX-25 Xfce Live USB. I would like to try your non-install method for the waterfox-6.6.5.tar.bz2 I just downloaded. You mentioned it takes you about a minute. I would greatly appreciate it if you could guide me with step-by-step instructions on this. I don't even know how to untar yet...

User avatar
Night Wing
Knows the dark side
Knows the dark side
Posts: 5569
Joined: 2011-10-03, 10:19
Location: Piney Woods of Southeast Texas, USA

Re: Walmart.com problem..

Post by Night Wing » 2025-11-12, 19:45

Garland wrote:
2025-11-12, 04:36

I now have an MX-25 Xfce Live USB. I would like to try your non-install method for the waterfox-6.6.5.tar.bz2 I just downloaded. You mentioned it takes you about a minute. I would greatly appreciate it if you could guide me with step-by-step instructions on this. I don't even know how to untar yet...
Yes, it does take me a minute to make linux Waterfox (6.6.5) work in MX Linux 25 (Infinty) Xfce for the very first time because you will have to make/create the launcher icon for Waterfox along with the path to the extracted Waterfox folder from the Waterfox tarball. This only happens if Waterfox has never been on your computer.

Like I said, it takes me about a minute in time, but for "detailed step-by-step" instructions, to type it out, it will take a lot of time. Like typing a long manuscript. The easy method is; if you want to trust me, is for us to exchange phone numbers, in a Private Message" from me to you and you to me so I can guide you "step-by-step, over the phone with me telling you how to do it. We would have to set up a time where you and I have free time to talk.

The easiest and better way is for computer to computer using RustDesk. I volunteer at a computer repair shop. I mainly install Mint, MX Linux and Debian, all using the Xfce desktop environment. I put RustDesk on their computers and RustDesk is not installed on their computer since I put the Appimage on their computers.

When one of our customers has a small problem, like the one you are describing with Waterfox, from my personal computer or one of the shop's computers, they let me on their computer and they watch me how I do it. They trust me because I am the one who put Mint, MX Linux or Debian on their computer because they were simply fed up with the Windows 11 operating system.

I have been on this Pale Moon Forums site since October of 2011 so I am not a "fly by night" which means "I am here one day and gone the next day" if you are going to have reservations about this. But I do not mind "compromise" if you are feeling uncomfortable (scared).

By compromise, if you want to use RustDesk, I will send you a link to RustDesk and I will also send the correct Appimage you will need. By doing it this way, I will send you my RustDesk User ID and the Password where you can take control of my computer where you can practice on my computer while I guide you through the steps via my voice. The password can only be used one time. It changes automatically if you use RustDesk again or if there is a disruption in the internet connection. And you have to use the Permissions Tab to give permission to actually use RustDesk. Sounds complicated, but it is not.

BTW, I live in southeast Texas (United States) so my time is in the Central Time Zone. My 6:00 PM is someone's 7:00 PM in the Eastern Time Zone if they live in the city of New York, New York. Conversely, my 6:00 PM time is 4:00 PM in the city of Los Angeles, California for a person living there.

In conclusion, you will either get "cold feet" and not use RustDesk because of a "trust issue" or you've got backbone and want to learn. As they say in the game of basketball. "The ball (RustDesk) is in your court so you have to decide to shoot the ball (the rock) at the basket and make the successful shot or pass the ball (the rock) to someone else who has the backbone to "take the shot" and who makes it. Which one are you? The shooter or the passer?

If you can't untar a tarball, then RustDesk is the best way to go.
Last edited by Night Wing on 2025-11-13, 00:29, edited 1 time in total.
MX Linux 25 (Infinity) Xfce w/Pale Moon, Waterfox, Firefox
Linux Debian 13.2 (Trixie) Xfce w/Pale Moon, Waterfox, Firefox

User avatar
Garland
Moonbather
Moonbather
Posts: 56
Joined: 2023-09-26, 20:39

Re: Walmart.com problem..

Post by Garland » 2025-11-12, 23:15

Thank you Night Wing for your generous offer. I will keep that in mind for the future.
I found step-by-step instructions here:
https://forum.mxlinux.org/viewtopic.php ... 45#p824745
Now I have the latest Waterfox up and running. Extracting the archive is super easy in the Thunar File Manager -- just right-click on the archive. Now to install uBlockO and create a user.js file in the profile...

User avatar
Night Wing
Knows the dark side
Knows the dark side
Posts: 5569
Joined: 2011-10-03, 10:19
Location: Piney Woods of Southeast Texas, USA

Re: Walmart.com problem..

Post by Night Wing » 2025-11-13, 00:40

@ Garland

From the instructions you found on the MX forums site, you "installed" Waterfox. But my Waterfox is "not" installed in either of MX Linux or Debian. My method "never" uses the Terminal. It is all gui windows (as in context windows).

So if you ever get the "itch" to see how I use the Waterfox, Floorp or Pale Moon browsers "without" installation, the offer still stands. Just be aware my method works in the Xfce desktop environment.
MX Linux 25 (Infinity) Xfce w/Pale Moon, Waterfox, Firefox
Linux Debian 13.2 (Trixie) Xfce w/Pale Moon, Waterfox, Firefox

jarsealer
Apollo supporter
Apollo supporter
Posts: 39
Joined: 2025-08-03, 23:56

Re: Walmart.com problem..

Post by jarsealer » 2025-11-13, 14:43

Off-topic:
Night Wing wrote:
2025-10-31, 16:51
Since you use Firefox. Have you thought of using Waterfox instead of Firefox?

https://www.waterfox.net/
I'd also like to try it, but there's currently no ARM architecture builds.

Their site's behind cloudflare as well, I also can't build from source since I don't have the hardware reqs.
Pale Moon and Basilisk aarch64 user, on Raspberry Pi 5 (8 GB RAM)

User avatar
therube
Board Warrior
Board Warrior
Posts: 1749
Joined: 2018-06-08, 17:02

Re: Walmart.com problem..

Post by therube » 2025-11-13, 17:43

From the instructions you found on the MX forums site, you "installed" Waterfox.
Appears to be a simple unpack & move (rather then install), no?

User avatar
Night Wing
Knows the dark side
Knows the dark side
Posts: 5569
Joined: 2011-10-03, 10:19
Location: Piney Woods of Southeast Texas, USA

Re: Walmart.com problem..

Post by Night Wing » 2025-11-13, 17:57

Below is a link to an old desktop photo using the MX Linux distro. As I've stated many times before, Pale Moon and Waterfox are not installed. If you look toward the right side of the Panel, you will see both the Pale Moon and Waterfox launcher icons for both un-installed browsers.

download/file.php?id=18430&mode=view
MX Linux 25 (Infinity) Xfce w/Pale Moon, Waterfox, Firefox
Linux Debian 13.2 (Trixie) Xfce w/Pale Moon, Waterfox, Firefox