Starting from Postman v8, working locally in scratchpad mode introduces this annoying banner which can't be disabled completely.
Therefore, I've created this repo to solve the problem, I've patched postman files to disable the scratchpad banner
Tested on Postman versions from 8.1.0
to 10.10.9
- Install node.js >= v14
- Clone this repo
git clone https://github.com/3omar-mostafa/Postman-Scratchpad-Banner-Fix.git
cd Postman-Scratchpad-Banner-Fix
- Run
npm install
to install dependencies
Run node fix.js -p ${postman_dir}
, where ${postman_dir}
is Postman installation directory
- You can find downloads for Linux and MacOS at Releases
- Windows is not included because its installer is
exe
file which I can extract and patch the files, but unfortunately I can not re-create the same installer, but you can still patch you existing installation
- There are some files which are responsible for displaying scratchpad banner as
requester.js
andscratchpad.js
in newer versions - These files contains
getWorkingInScratchpadBanner
,getScratchpadBannerMode
functions andSHOW_BANNER_IN_SCRATCHPAD
flag
I've made changes to these files
getWorkingInScratchpadBanner
- Modified this function to automatically close the scratchpad banner instead of creating it, using
this.closeBanner()
function call
- Modified this function to automatically close the scratchpad banner instead of creating it, using
If you are on windows/macos, you may find no code in Postman installation directory, instead you may find app.asar
file (which is like a tar archive file) and you can use asar to extract app.asar
and modify the files then repack it again
This repo use github actions to automate checking for new releases every month, also can run manually for custom version
To do this you should fork this repo and go to Actions tab and enable Github Actions
You can see this guide to manually run an Action