HOW TO prevent AJAX requests within a web page in Chrome after initial load

As a web developer, if you see a need to prevent AJAX requests in Chrome after initial load for a single website, here are the steps  -

1. Use the Ctrl+Shift+I or F12 function key keyboard shortcut in Chrome to invoke Developer Tools

2. Within Dev tools, click on the three vertical dots icon on the right side of the menu, slide down to "More Tools" & select "Network conditions" from the sub menu
3. In the "Network conditions" tab, choose "Offline" in the dropdown against the "Network Throttling" option

This way you can conditionally control AJAX requests for a single website without having to use the other blunt alternative of unplugging the network cable to remove all internet access.
Also see:

Comments

Popular posts from this blog

Maven Crash Course - Learn Power Query, Power Pivot & DAX in 15 Minutes

"Data Prep & Exploratory Data Analysis" course by Maven Analytics

Oracle Cloud Infrastructure 2024 Generative AI Professional Course & Certification Exam (1Z0-1127-24)