Use webrequest api to prevent navigating to a blocked page.