https://mozilla.github.io/pdf.js/getting_started/#download
当前版本： v2.12.313

viewer.js 注释如下代码

1801//      if (origin !== viewerOrigin && protocol !== "blob:") {
1802//        throw new Error("file origin does not match viewer's");
1803//      }

viewer.html  注释如下代码

openFile 和 viewBookmark 注释

232  <!--  <button id="openFile" class="toolbarButton openFile hiddenLargeView" title="Open File" tabindex="32"  data-l10n-id="open_file">
                  <span data-l10n-id="open_file_label">Open</span>
                </button> -->

243                <!--        <a href="#" id="viewBookmark" class="toolbarButton bookmark hiddenSmallView" title="Current view (copy or open in new window)" tabindex="35" data-l10n-id="bookmark">
                  <span data-l10n-id="bookmark_label">Current View</span>
                </a>-->
