Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add flag to reenable getGamepads #326

Open
5 tasks done
wetterskan opened this issue Sep 21, 2023 · 5 comments
Open
5 tasks done

Add flag to reenable getGamepads #326

wetterskan opened this issue Sep 21, 2023 · 5 comments
Labels
enhancement New feature or request It would be nice to have it It would be nice to have it, in my opinion

Comments

@wetterskan
Copy link

wetterskan commented Sep 21, 2023

Preliminary checklist

  • I have read the README.
  • I have searched the existing issues for my problem. This is a new ticket, NOT a duplicate or related to another open issue.
  • I have read the FAQs.
  • I have updated Cromite to the latest version. The bug is reproducible on this latest version.
  • This is a bug report about the Cromite browser; not the website nor F-Droid nor anything else.

Can the bug be reproduced with corresponding Chromium version?

Yes

Cromite version

117.0.5938.89

Device architecture

arm

Platform version

Android 12.1

Android Device model

Xiaomi Mi 10T (M2007J3SY, apollon)

Is the device rooted?

Yes

Changed flags

no flags changed

Is this bug happening in an incognito tab?

Yes

Is this bug caused by the adblocker?

No

Is this bug a crash?

  1. No.

Describe the bug

The problem is happening in Pony Town. I can't get to any server because of a Game Maker error on which this game Pony Town is written:
Failed to execute 'getGamepads' on 'Navigator': Access to the feature "gamepad" is denied

Steps to reproduce the bug

Sequence of actions:

  1. Log in to your Pony Town account or register it using the suggested social networks (icon in the upper right corner);
    1.1. If there is no login, but registration, then the game will offer to enter a new nickname for the account;
  2. After logging in / registering, a character management window will appear, at the top of which, in the input field, you must enter any name / name of the new character;
  3. A large green "Save & Play" button will appear under the control window, you need to click on it to get to a random server. However, this will not happen in Cromite due to the Game Maker error described above, this error will appear on a red background, right under the green button. As a result, it is impossible to play.

Expected behavior

After clicking the green button, instead of the above error, you should get to the server. To be more specific, immediately after clicking on the green button, your character will appear on a large forest map along with the rest of the players who have joined, the game interface and control/interaction buttons with both your character and the others will also appear, located at the bottom and left. You will immediately be able to move around the map using an unfixed virtual joystick following your finger. This should be the case and it happens in any browser known to me, EXCEPT Cromite, in which this error does not allow you to log in to the server and play. WebGL and other permissions have been granted, and the adblock has also been disabled.

Screenshots

NONE

@wetterskan
Copy link
Author

wetterskan commented Sep 21, 2023

This is how the main menu of the game looks before logging on to the server:

Details

Screenshot_20230921-223941_Fulguris

This is what a successful login to the server looks like in any browser except Cromite:

Details

Screenshot_20230921-223030_Pony Town

This is what an unsuccessful login to the server looks like only in Cromite:

Details

Screenshot_20230921-223055_Cromite

@uazo
Copy link
Owner

uazo commented Sep 22, 2023

This should be the case and it happens in any browser known to me, EXCEPT Cromite, in which this error does not allow you to log in to the server and play.

what can you do? we are special :)

joking aside, getGamepads is disabled by default under flag 'chrome://flags/#restrict-gamepad-access' patch
My advice, however, is not to enable it, because it is a source of fingerprinting without any user control.
I could have put it under site-settings, but I didn't think anyone would use it!

@uazo uazo added the awaiting info Further information is requested label Sep 22, 2023
@github-actions
Copy link

This issue has been automatically marked as stale as there has been no recent activity in response to our request for more information. Please respond so that we can proceed with this issue.

@github-actions github-actions bot added the Stale I'm about to be closed, if there is no activity label Sep 28, 2023
@uazo uazo removed awaiting info Further information is requested Stale I'm about to be closed, if there is no activity labels Sep 28, 2023
@uazo uazo changed the title Technical problems with Pony Town Add flag to disable getGamepads Sep 28, 2023
@uazo uazo added the enhancement New feature or request label Sep 28, 2023
@uazo uazo changed the title Add flag to disable getGamepads Add flag to reenable getGamepads Oct 21, 2023
@uazo uazo added the It would be nice to have it It would be nice to have it, in my opinion label Oct 21, 2023
@uazo uazo mentioned this issue Nov 15, 2023
5 tasks
@Noir16
Copy link

Noir16 commented Feb 10, 2024

My advice, however, is not to enable it, because it is a source of fingerprinting without any user control.
I could have put it under site-settings, but I didn't think anyone would use it!

I recently needed this feature myself. I'd like to see it disabled by default, but modifiable in flags.
Yes, I know it's bad for privacy, but WebGL and related features are being used in some web environments as a second Flash.
Sure, it seems like the A**be Flash Player nightmare is repeating itself, but the fact remains that we need options because we can't do anything if we can't adapt to the environment.

@uazo
Copy link
Owner

uazo commented Feb 13, 2024

but modifiable in flags

yes, you are right.

Yes, I know it's bad for privacy,

I still advise you not to leave the gamepad connected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request It would be nice to have it It would be nice to have it, in my opinion
Projects
None yet
Development

No branches or pull requests

3 participants