Western Digital - warranty page not working (support-en.wd.com)

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
Viper_63
Hobby Astronomer
Hobby Astronomer
Posts: 17
Joined: 2021-01-05, 22:52

Western Digital - warranty page not working (support-en.wd.com)

Unread post by Viper_63 » 2021-10-26, 14:35

The Western Digital warranty status page (https://support-en.wd.com/app/warrantystatus) doesn't load correctly in Pale Moon (and Basilisk for that matter). The drop down menus for "countries" and "serial number" stay greyed out even when using a fresh browser install and/or a new profile. Using an older Firefox version (46.0.1) the page loads correctly, the same goes for Chromium. I have been unable to throubleshoot this - can anybody validate that the page doesn't work correctly? Note that the menus are not greyed out when scripts from wd.com are blocked.

coffeebreak
Moon Magic practitioner
Moon Magic practitioner
Posts: 2986
Joined: 2015-09-26, 04:51
Location: U.S.

Re: Western Digital - warranty page not working (support-en.wd.com)

Unread post by coffeebreak » 2021-10-26, 17:17

Error console:

Code: Select all

Error: ReferenceError: event is not defined
Source File: https://support-en.wd.com/euf/generated/optimized/1634875104/pages/warrantystatus.6d5d21a410aded6e7859b24398dbbdf7.js
Line: 23

Error: SyntaxError: expected expression, got '.'
Source File: https://support-en.wd.com/euf/assets/themes/standard/botjs/settings.js
Line: 213, Column: 90
Source Code:
ON.parse(localStorage.getItem(keys[i])), "Text", keyData[i]?.messagePayload?.text, keyData[i]?.messagePayload?.text == "

Error: ReferenceError: initialize is not defined
Source File: https://support-en.wd.com/app/warrantystatus
Line: 1

Error: ReferenceError: initSdk is not defined
Source File: https://support-en.wd.com/app/warrantystatus
Line: 1

New Tobin Paradigm

Re: Western Digital - warranty page not working (support-en.wd.com)

Unread post by New Tobin Paradigm » 2021-10-26, 18:22

Looks like optional chaining and PERHAPS global event. The latter we aren't ever gonna do since it went "not recommended" after everyone else did it.

Also, this seems familiar.

Locked