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
GM 4: How do you manually install scripts? #2671
Comments
same question, when I open *.user.js file in browser, nothing happens with GM, it just loads text page normally |
Assuming you're attempting local install |
I was reading that it is NOT possible to import/install scripts in GM 4.0 and the code has not been included in GM 4.0 release. We have to wait for future updates which is impractical. |
so there is no way now? fix when? 🤔 |
@erosman , @Owyn , I don't quite understand your comments. Are you expecting GM to go out of its way to circumvent Firefox security policy/restrictions? While I did suggest method, using Further, I attempted to work the around issue using messaging to a background script. That too had security problems. Messages sent from Perhaps someone smarter than me can figure it out. But it's not super trivial. -- Now, onto a possible solution for your immediate issue. If you add a script that is hosted from someplace, https://greasyfork.org/en, or equivalent, then you can edit the newly added script and paste your local file contents. Then repeat. You can repeat with the same remote userscript file. |
As users - we simply don't understand the issue, we just want it to work... If it's about some mysterious malicious scripts, or malicious extensions, or malicious executables, or malicious anything... it was always up to user to not run any untrusted code found on sight, protecting the user not to shoot himself in the leg should not break the expected functionality of the program. So yea. |
@Sxderp I think, these guys would be totally fine with an |
This is being worked on, but I think that a stop-gap solution may be necessary. I'm going to look into creating a new script button which creates a new script and opens the editor directly. I'm sure @arantius would like some sort of similar GUI as in 3.x, but for now I think this should be brought forward as a temporary measure.
If you add new |
I have no idea what you are talking about. Please note .....
These options are not available in GM 4 and hence the impracticality of the status quo. |
You can't today, and likely never will be able to install from Restoring "new script" is planned.
Definitely. |
Of course you can .... I do it in my own WebExtensions. let me know if you need me to explain how to import from file in a WebExtension. A WebExtension can read a local file using File Input and user action, then save that to its own database.
That is is different issue. WebExtension can not read a local file without user interaction but that is NOT what we are talking about. We are talking about import using File Input. This bug is closed prematurely. |
Please discuss file installation in #2612 . |
How do you install script not on any server ie manually?
I only use my own scripts and they are not hosted.
After GM4 upgrade, some of the scripts are missing.
How to I add them?
The text was updated successfully, but these errors were encountered: