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...
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:
scroll
switch (activated by default) on the navigation bar above to enable window scrolling.*Warning: Disabling the same-origin policy this is very unsafe. This action is taken at your own risk.
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';
}