Skip to content

Conversation

@bmndc
Copy link
Contributor

@bmndc bmndc commented Dec 4, 2024

w2d is a JavaScript-based utility webpage used to open menu hidden within the Settings app on Firefox OS, KaiOS and alike. It utilises mozActivity API on Firefox OS/KaiOS 2.5 and webActivity API on KaiOS 3+. User can visit the site on their phone and click on the buttons to open the corresponding menu.

JS code is based on https://w2d.bananahackers.net (kudos to @Tombarr, Luxferre and @cyan-2048). On behalf of the @bananahackers team, I want to make this because T9 typing w2d.bananahackers.net is really difficult.

(W2D: web-to-developer menu; the page was originally designed to simply open the Developer menu.)

@MattIPv4
Copy link
Member

MattIPv4 commented Dec 4, 2024

@indus I'm not sure about this one -- it seems like a jailbreak tool, which doesn't seem related to JavaScript developers (it just uses JavaScript like any webpage would), and seems controversial by nature of it being a device jailbreak?

@MattIPv4 MattIPv4 added the awaiting response This PR is waiting for a response from the requester label Dec 4, 2024
@bmndc
Copy link
Contributor Author

bmndc commented Dec 4, 2024

It looks like device jailbreaking, but it actually isn't 😂 — mozActivity and webActivity APIs are widely available, and have been used by FFOS/KaiOS app developers to share content between apps (Tom has more technical details on these APIs). We don't expect that the built-in Browser app can call those APIs as well, but they are definitely not exploits.

Originally, the page was designed to help developers and enthusiasts access the Developer menu in Settings, where they can turn on debugging access and start developing apps for FFOS/KaiOS. At some point, some people wanted to access certain Settings pages, which were hidden by phone manufacturers, using the same method we used to trigger the Developer menu. But the main purpose of the page (for now) is to open Developer menu within the Settings app.

Fun fact: FFOS/KaiOS apps are web apps; they're written in HTML5, CSS and definitely JavaScript, so we're indirectly helping the JavaScript developers who make apps on the platform as well.

In the far future W2D might be designed as a full dev tool for developers to play with mozActivity and webActivity APIs and interact with apps on the phone, but for now it remains an utility tool.

@MattIPv4
Copy link
Member

MattIPv4 commented Dec 4, 2024

Okay, I think having a lot more of that technical content on the page would make this a lot easier to approve -- as it stands it is just a button that makes use of JavaScript to trigger a browser feature, and claims to be a jailbreak...

@indus
Copy link
Member

indus commented Dec 5, 2024

@MattIPv4 I think that is ok.
Welcome http://w2d.js.org

@indus indus merged commit ad9b2c2 into js-org:master Dec 5, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting response This PR is waiting for a response from the requester

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants