The Firefox build that evades JavaScript anti-debugging debugger
mechanisms.
This repository maintains GitHub Workflows for building Firefox browsers (in Windows only, as of now) that support replacing the JavaScript keyword debugger
with custom keywords. This customization is an efficient way to circumvent the debugProtection
anti-debugging mechanism utilized by many websites, such as weread and mycloud, to protect their client-side JavaScript code. By using the browser builds provided in this repository, developers can freely debug protected JavaScript code without worrying about the limitations brought by debugProtection
. By default, the custom keyword is set to debugger[%Y%m%d%H%M%S]
, where [%Y%m%d%H%M%S]
is a timestamp acquired during the build process, e.g. 20230427040458
.
You can download the Firefox installer from Github Actions artifacts (look for firefox-artifacts
), or from the releases.
If you would like to fork this repo and run the actions under your account, please be aware that you need to create a personal access token (follow the instructions here) and grant it permissions of Read and Write access to code in your repo. And add this access token to your repo secrets (https://github.com/{OWNER}/{REPO}/settings/secrets/actions
) with the name ACTIONS_TRIGGER_PAT
(this name is used in the workflow files). You'll also have to grant Read and write permissions to your workflow (https://github.com/{OWNER}/{REPO}/settings/actions
). All the hassle here is to automatically trigger build at least once a day upon new commit in the Firefox source code.