Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions static/assets/scripts/home.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ if (!inFrame && !navigator.userAgent.includes("Firefox")) {
style.width = style.height = "100%"

doc.head.appendChild(link);
doc.body.appendChild(iframe)
location.replace("https://www.nasa.gov/")
doc.body.appendChild(iframe);
location.replace(localStorage.getItem('panicLink') || 'https://www.nasa.gov/');
};
};

Expand Down
2 changes: 1 addition & 1 deletion static/settings.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ <h3>About:Blank</h3>
</div>
<div class="settings-card">
<h3>Set Panic Key</h3>
<p>Quickly open a educational site, when the teacher comes.</p>
<p>Quickly open a educational site, when the teacher comes. The panic link is also used to redirect you when about:blank windows are opened.</p>
<input type="text" id="eventKeyInput" placeholder="Panic Key" class="key-form">
<input class="key-form" placeholder="Panic Link" type="text" id="linkInput" value>
<button class="key-button" value="Save" onclick="saveEventKey()">Save</button>
Expand Down