Earlier quoted context omitted.
So don’t allow GET with query params. You want the static moniker? It has to be static. No server interaction after load, and no sending any data during load.
You can still hide the data in "folders". /foo/bar/baz/buz can be totally dynamic on the server.
Show HN: Print a WiFi Login Card
301–310 of 347 posts
Re: Show HN: Print a WiFi Login Card
#302> Your WiFi information is never sent to the server. This makes me think that we could use some flag that identifies purely static websites. Like next to the green https lock there is a sign that this website can not send data to any server
Re: Show HN: Print a WiFi Login Card
#303Earlier quoted context omitted.
You can still hide the data in "folders". /foo/bar/baz/buz can be totally dynamic on the server.
How about after load, that tab automatically goes completely offline. Users can manually do this in Chrome on a tab by tab basis by using developer console and setting Throttling to "Offline"
Re: Show HN: Print a WiFi Login Card
#304Re: Show HN: Print a WiFi Login Card
#305Re: Show HN: Print a WiFi Login Card
#306Earlier quoted context omitted.
You can still hide the data in "folders". /foo/bar/baz/buz can be totally dynamic on the server.
How about after load, that tab automatically goes completely offline. Users can manually do this in Chrome on a tab by tab basis by using developer console and setting Throttling to "Offline"
Re: Show HN: Print a WiFi Login Card
#307qrencode -t utf8 'WIFI:T:WPA;S:network;P:password;;'
If you want some interactivity (bash): read -rp "SSID: " ssid read -rsp "Password: " pass echo -e "\n" qrencode -t utf8 "WIFI:T:WPA;S:$ssid;P:$pass;;" echo "SSID: $ssid" Even better, generate a PDF with emojis and all! #!/usr/bin/env bash out="${1:-wifi-card.pdf}" read -rp "SSID: " ssid read -rsp "Password: " pass echo -e "\nGenerating PDF..." { cat SSID: $ssid Password: $pass Point your phone's camera at the QR Code…
Re: Show HN: Print a WiFi Login Card
#308wifi: // [username] : [password] @ ssid
Re: Show HN: Print a WiFi Login Card
#309> Your WiFi information is never sent to the server. This makes me think that we could use some flag that identifies purely static websites. Like next to the green https lock there is a sign that this website can not send data to any server
This a great idea but it would be difficult to implement. Sure, it would be easy to catch (and block) HTTP requests other than OPTIONS and GET. But even a GET request can be used to send data. Just pack the data you want to send in the query string and voila.
Re: Show HN: Print a WiFi Login Card
#310> Your WiFi information is never sent to the server. This makes me think that we could use some flag that identifies purely static websites. Like next to the green https lock there is a sign that this website can not send data to any server
You'd probably also need some sort of Feature-Policy[3] that prohibits access to any form of persistent storage so sites can't just save data until the next non-CSP-protected page load and transmit it then.
[1]: https://wicg.github.io/webpackage/draft-yasskin-wpack-bundle...
[2]: https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP
[3]: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Fe...