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

Unable to copy a script from the editor #3052

Closed
flarn2006 opened this issue Sep 29, 2019 · 10 comments
Closed

Unable to copy a script from the editor #3052

flarn2006 opened this issue Sep 29, 2019 · 10 comments

Comments

@flarn2006
Copy link

Whenever I select all and copy in the built-in editor, pasting just gives me a single - character. Considering I don't know of any other way to export scripts, this is a big problem.

@arantius
Copy link
Collaborator

@flarn2006
Copy link
Author

flarn2006 commented Sep 29, 2019

Oops sorry; I was in a rush and annoyed at the time I reported this. Here you go:

Operating System: Arch Linux
Firefox version: 69.0.1
Greasemonkey version: 4.3
Exactly which script, if any, is causing a problem? It's one I made. I'd post it, but the only way I know of to get it out of the editor (see also #3053) is by copying it to the clipboard, and of course that's not an option.
Exactly which page, if any, is exhibiting this problem. Well it's the script editor, so I guess moz-extension://1b5a7ce0-a8d3-41eb-b985-98bb4ea6c884/src/content/edit-user-script.html.

@flarn2006
Copy link
Author

Actually, after doing some testing, it appears that this happens any time you attempt to copy more than 1,001 characters.

@arantius
Copy link
Collaborator

I just copied 57,450 characters out of a script first try.

@Cerberus-tm
Copy link

I've never experienced this issue either (just some delays in copying/pasting). So could it be something specific to your system?

@flarn2006
Copy link
Author

Can you try with this script?
https://flarn2006.github.io/stegasuras.user.js

@Cerberus-tm
Copy link

Cerberus-tm commented Oct 5, 2019

@flarn2006 I've tried it with that script, but I could copy the entire script from the GM editor into an external text editor just fine.

@flarn2006
Copy link
Author

Ah okay; must have just been on my side then. Sorry to waste your time!

@Cerberus-tm
Copy link

@flarn2006 OK, I hope you manage to solve the issue!

@AnnanFay
Copy link

AnnanFay commented May 1, 2020

Likely related: codemirror/codemirror5#3486
Edit: Oh, this whole issue was fixed by #2894 which was GM 4.4 - hence the above issue using 4.3.

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

4 participants