(function() { const params = new URLSearchParams(window.location.search) if (!params.has('embed')) { return } window.addEventListener('DOMContentLoaded', () => { window.document.querySelector('body').classList.add('is-embeded') window.document.querySelectorAll('.file-header a').forEach(function(a) { a.setAttribute('target', '_blank') }) }) })();