// Check for the debug flag in the URL const urlParams = new URLSearchParams(window.location.search); const viewerFrameMode = urlParams.get('viewerframe');
// Parse the current URL's query string const urlParams = new URLSearchParams(window.location.search); const mode = urlParams.get('mode'); const contentLink = urlParams.get('link'); viewerframe mode link
The link cut to black.