How to allow extensions to modify Chrome "protected" pages?

Due to security reasons, Google Chrome forbids extensions from modifying protected pages. You can't change that via settings.

Protected pages are those whose URLs start with:
chrome://
chrome-extension://
https://chrome.google.com/webstore/

Extensions are also unable to modify the following types of pages:

  • PDF documents
  • Pages where Javascript is disabled
  • Security warning pages
  • Error pages (e.g 404 errors, network errors, etc.)
  • URLs starting with view-source: or data: