hide darkmode icon in safest mode

This commit is contained in:
anarsec 2024-04-15 19:07:30 +00:00
parent 7decaf8359
commit 748eeb7b48
No known key found for this signature in database
3 changed files with 9 additions and 7 deletions

View file

@ -92,9 +92,9 @@ This excerpt assumes that we take the cell phone with us, but [as discussed else
</summary>
<br>
* Once you have placed the bagged electronic devices in the container and covered them with a colorful mixture, take photos on this Haven phone using the Blink Comparison app. Send them to yourself via [Molly](/posts/e2ee/#signal) (with the Note to Self feature), [Element](/posts/e2ee/#element-matrix), or a [Cwtch group](/posts/e2ee/#cwtch). Close Blink Comparison so that the storage is encrypted.
* Once you have placed the bagged electronic devices in the container and covered them with a colorful mixture, take photos on this Haven phone using the Blink Comparison app. Send them to yourself via [Molly](/posts/e2ee/#signal) (with the Note to Self feature), or a [Cwtch group](/posts/e2ee/#cwtch). Close Blink Comparison so that the storage is encrypted.
* When you return, use Blink Comparison on the Haven phone to verify with new photos.
* Extra: once your devices are out of storage, you can verify that the pictures you sent to yourself on Signal/Element/Cwtch don't differ from those on your Haven phone, and also compare the timestamp. Once the verification is complete, you can delete the photos so there is no confusion about which photos to use for future verifications.
* Extra: once your devices are out of storage, you can verify that the pictures you sent to yourself on Signal/Cwtch don't differ from those on your Haven phone, and also compare the timestamp. Once the verification is complete, you can delete the photos so there is no confusion about which photos to use for future verifications.
<br>
</details>
@ -108,9 +108,9 @@ This excerpt assumes that we take the cell phone with us, but [as discussed else
</summary>
<br>
* Once you have placed the bagged electronic devices in the container and covered them with a colorful mixture, take photos using the Blink Comparison app. Send them to yourself via [Molly](/posts/e2ee/#signal) (with the Note to Self feature), [Element](/posts/e2ee/#element-matrix), or a [Cwtch group](/posts/e2ee/#cwtch). Turn off the device and hide it somewhere.
* Once you have placed the bagged electronic devices in the container and covered them with a colorful mixture, take photos using the Blink Comparison app. Send them to yourself via [Molly](/posts/e2ee/#signal) (with the Note to Self feature), or a [Cwtch group](/posts/e2ee/#cwtch). Turn off the device and hide it somewhere.
* When you return, use Blink Comparison to verify with new photos.
* Extra: once your devices are out of storage, you can verify that the pictures you sent to yourself on Signal/Element/Cwtch don't differ from those on your GrapheneOS phone, and also compare the timestamp. Once the verification is complete, you can delete the photos so there is no confusion about which photos to use for future verifications. If the phone is found and the firmware or software is modified, Auditor will notify you.
* Extra: once your devices are out of storage, you can verify that the pictures you sent to yourself on Signal/Cwtch don't differ from those on your GrapheneOS phone, and also compare the timestamp. Once the verification is complete, you can delete the photos so there is no confusion about which photos to use for future verifications. If the phone is found and the firmware or software is modified, Auditor will notify you.
<br>
</details>

View file

@ -508,9 +508,6 @@ $footer-padding: 1.0rem 2.5rem
.navbar-end
flex-wrap: wrap!important
/* hide for 1023px instead of default 768px */
.is-hidden-mobile
html
scroll-behavior: smooth
@ -523,6 +520,9 @@ body
section
flex: 1
#dark-mode
display: none
.menu
position: sticky
top: 48px

View file

@ -63,6 +63,8 @@ function documentReadyCallback() {
document.getElementById("dark-mode").setAttribute("title", "Switch to light theme");
}
document.getElementById("dark-mode").style.display = "inline";
document.getElementById("dark-mode").addEventListener("click", () => {
if (
localStorage.getItem("theme") == null ||