Welcome to Docs Page

This page serves as a file database. Without leaving the page, you can navigate through all kinds of files, for example: http pages, jupyter notebooks, and pdf files, etc...

Guide

This page need to access the height attribute of external website. However, the access is often restricted due to Same-origin policy.

To have this page works properly, there are two solutions:

  1. Activate scroll switch (activated by default) on the navigation bar above to enable window scrolling.
  2. For the best performance, disable the same-origin policy in the browser:*
    1. Google Chrome
    2. Mozilla Firefox
    3. Apple Safari

*Warning: Disabling the same-origin policy this is very unsafe. This action is taken at your own risk.

IMPLEMENTATION

Page rendering is enabled by using <iframe> window of html. A auto-window-height Javascript function is implemented to automatically adjust iframe height for full screen display.

function resizeIframe(iframe) {
    iframe.style.height = iframe.contentWindow.document.documentElement.scrollHeight + 'px';
}