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

File pick implementation #127

Open
PhilJbt opened this issue Sep 24, 2023 · 1 comment
Open

File pick implementation #127

PhilJbt opened this issue Sep 24, 2023 · 1 comment

Comments

@PhilJbt
Copy link

PhilJbt commented Sep 24, 2023

It seems (I checked https://github.com/sizzlemctwizzle/GM_config/blob/master/types/index.d.ts) that the filepicker input is not supported, and there is no mention of it in the wiki.
Since I need it for a config import/export feature, I was wondering if you were planning to implement it in the future.

I'd like to take this opportunity to thank you for GM_Config, it's really very practical not to have to do this from scratch!

@PhilJbt
Copy link
Author

PhilJbt commented Sep 24, 2023

As a work around, I used a button in the GM_Config which create an invisible input file picker.
But, as safety policies become ever more stringent, I wonder how many time it will keep working. I used to use a GM_registerMenuCommand to do this directly, but it recently stopped working (due to a supposedly "lack of user activation").

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant