Google Chrome can not open blob in new tab cause by AdBlock

There is a discussion at StackOverflow here: https://stackoverflow.com/questions/44366152/google-chrome-can-not-open-blob-in-new-tab

by The Anh Nguyen

HTML

<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css">
<!-- 
  Q: Google Chrome can not open blob in new tab, but Firefox is still ok.
  A: The cause may be AdBlock. There is a discussion at StackOverflow here: 
     https://stackoverflow.com/questions/44366152/google-chrome-can-not-open-blob-in-new-tab
-->

<div class="text-center mt-5">
  <a class="btn btn-primary" id="view" href="" target="_blank">View Blob in new tab</a>
  <a class="btn btn-primary ml-4" id="download" href="" download="abc.txt">Download Blob</a>
</div>

JavaScript

$(function(){
	const myBlob = new Blob(['Hello, I am Blob content'], {type: 'text/plain'})
	const url = URL.createObjectURL(myBlob);
  $("a#view").attr("href", url);
  $("a#download").attr("href", url);
});