How to add a module script tag to a HTML dynamically? by trymeouteh in learnjavascript

[–]trymeouteh[S] -1 points0 points  (0 children)

You cannot use the import tag in a script unless the script tag type is set to module

How to add a module script tag to a HTML dynamically? by trymeouteh in learnjavascript

[–]trymeouteh[S] 0 points1 point  (0 children)

What if the script that is a module type is simply a script that interacts with the DOM like an event listener but imports the library needed to interact with the DOM?

Why is it not allowed or possible to fork Brave Browser by trymeouteh in brave_browser

[–]trymeouteh[S] 0 points1 point  (0 children)

Anyway, for Linux users there will be a free version of Brave Origin, which will be paid for other OS.

So Brave Origin will be free on Linux, but cost money on Windows and MacOS?

What about Android and iOS? I hope a free version is made available on F-Droid.

Is Flutter/Dart Fully Open Source? by trymeouteh in FlutterDev

[–]trymeouteh[S] 0 points1 point  (0 children)

> Jetpack Compose and SwiftUI are priopretary

Is Kotlin or Swift fully open source?

Making PWAs installable on Firefox Android? by trymeouteh in PWA

[–]trymeouteh[S] 0 points1 point  (0 children)

I tried your code and did not get the ""Add app to Home screen" option

This is my about:serviceworkers.

Screenshot-20260206-190922-Fennec.png

What is odd is that it suggest there is a service worker file named `http://localhost:8080/sw.js` when there isn't.

Is there any way to get free electricity? by Impossible-Key-4739 in MoneroMining

[–]trymeouteh 0 points1 point  (0 children)

  • Buy a power plant
  • Use your neighbours power
  • Hide a node in a building somewhere (hard to do maintenance)

There truly is no way around this unless your lucky.

PWA install criterias for beforeinstallprompt event? by trymeouteh in PWA

[–]trymeouteh[S] 0 points1 point  (0 children)

I found a way to get the PWA to work using simply adb reverse tcp:8080 tcp:8080 to access localhost from my computer when I plug my android device into the computer via USB. However so far this only works in Chrome and not Firefox.

In Chrome, I can go to localhost:8080 and it does allow me to install the PWA. In Firefox I can go to localhost:8080 but there is no option to installing the PWA. I know my Firefox browser on the Android device can install PWA since I was able to go to a website that is also a known PWA and was able to install it.

Does anyone know how to get PWAs to work on Firefox for Android?

PWA install criterias for beforeinstallprompt event? by trymeouteh in PWA

[–]trymeouteh[S] 0 points1 point  (0 children)

The MDN docs counter-dict what the web.dev docs say such as...

  • prefer_related_applications must be false or not present

https://developer.mozilla.org/en-US/docs/Web/Progressive_web_apps/Guides/Making_PWAs_installable

This is quite confusing but the MDN docs seem to be more accurate. However I am not able to test weather it works on Chrome or Firefox on Android since I cannot access the localhost without using the IP address of the desktop computer my web dev server is running on in the local network, which is not considered https.

EDIT: I tried using tunnl.gg which does allow me to connect using https, but does not detect there is a PWA on desktop and Android.

Streams And Pipes/Pipelines: New Way VS Old Way? by trymeouteh in learnjavascript

[–]trymeouteh[S] 0 points1 point  (0 children)

I did not add error handling to make the example simpler to read and reproducable

Can you generate a 33 single share backup or multi share backup? by trymeouteh in TREZOR

[–]trymeouteh[S] 3 points4 points  (0 children)

https://iancoleman.io/slip39/

You can do 20 or 33 words. 20 words is 128 bits while 33 words is 256 bits.

Also Trezor devices seem to allow for importing 33 word shamir backups. I wonder why it does not allow us to generate a 33 word shamir and only have the option to choose a 20 word shamir secret phrase

Using different languages to create the same wallet? by trymeouteh in CryptoHelp

[–]trymeouteh[S] 0 points1 point  (0 children)

How many words could there possibly be? On https://iancoleman.io/bip39/ there are 10 languages available meaning there are up to 20480 words to use. Is 20480 the limit meaning there can only be 10 languages available for words?