Don't show blocks on some pages
You can use hook_block_list_alter() to hide the blocks in your module code. See docs for more information on how to achieve this. This is the the alter for the function Drupal used to hide/show blocks.