summaryrefslogtreecommitdiff
path: root/web/index.html
diff options
context:
space:
mode:
authorpennae <github@quasiparticle.net>2022-08-07 01:47:07 +0200
committerpennae <github@quasiparticle.net>2022-08-07 01:47:07 +0200
commit651d0f24c76a7c61b63155acf8a24119a59ad9cd (patch)
tree79e2870922ef405b4809c2b3135baaad188bf487 /web/index.html
parentdb843891f27f5560421095f48aefbb9756643ff8 (diff)
downloadminor-skulk-651d0f24c76a7c61b63155acf8a24119a59ad9cd.tar.gz
minor-skulk-651d0f24c76a7c61b63155acf8a24119a59ad9cd.tar.xz
minor-skulk-651d0f24c76a7c61b63155acf8a24119a59ad9cd.zip
fenix login is actually a lot simpler
but it *must* be done over https with trusted certificates
Diffstat (limited to 'web/index.html')
-rw-r--r--web/index.html56
1 files changed, 1 insertions, 55 deletions
diff --git a/web/index.html b/web/index.html
index d3291f0..f7e8fe1 100644
--- a/web/index.html
+++ b/web/index.html
@@ -108,13 +108,6 @@
}
</style>
- <template id="tpl-fenix-style">
- <style>
- body { font-size: 300%; }
- input { font-size: 100%; }
- </style>
- </template>
-
<template id="tpl-desktop-signedin">
<div class="container dialog">
successfully signed in!
@@ -355,56 +348,9 @@
</div>
</template>
- <template id="tpl-fenix-signin-warning">
- <div class="container">
- <p>it looks like you're trying to sign in to sync from an android firefox instance.
- we're very sorry, but this is going to hurt a bit.</p>
- <p>to sign in you'll need to follow these steps:</p>
- <ol>
- <li>
- enable USB debugging in the android:
- <ol>
- <li>go to setting → about phone</li>
- <li>scroll to the build number</li>
- <li>tap it until a "your are new a developer" message appears</li>
- <li>go to settings → system → developer options</li>
- <li>scroll down to "USB debugging", enable it</li>
- </ol>
- </li>
- <li>enable USB debugging in the android firefox settings</li>
- <li>connect your android device to a PC for USB debugging</li>
- <li>on this PC, open firefox and go to <pre>about:debugging</pre></li>
- <li>enable USB devices</li>
- <li>connect to your android device</li>
- <li>open this page in a normal tab, not through the sign-in interface.
- this is very important, if there's no normal tab with this URL open
- <em>signin will not work</em></li>
- <li>open the login page through the sign-in interface as well</li>
- <li>in the PC debugger, inspect the new tab that has just appeared</li>
- <li><a href="#" id="signin">actually sign in</a>.
- clicking this link will lead away from this page, finishing sign-in
- will bring you back.</li>
- <li>go to the javascript debug console of the tab we inspected previously,
- copy the long block of code</li>
- <li>locate the <pre>Firefox Accounts WebChannel</pre> extension in the
- debugger and inspect it. this may fail, if it does go to the setup
- tab of the debugger and disable USB devices, enable then, reconnect
- to your devices, and repeat this step
- <p><b>WARNING:</b> this is known to not work on firefox 102. if you get
- a blank tab instead of a tab with debug tools as seen earlier you
- may have to downgrade your android firefox to 101 to log in.
- unfortunately this seems to require uninstalling and reinstalling
- firefox, which wipes your data!</p>
- </li>
- <li>go to the javascript debug console, paste the block of code, and run it</li>
- <li>enjoy sync!</li>
- </ol>
- </div>
- </template>
-
<template id="tpl-fenix-signin">
<div class="container dialog">
- <credentials-form submit-text="do the fenix dance"></credentials-form>
+ <credentials-form submit-text="log in"></credentials-form>
</div>
</template>
</head>