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

Replace "eval" method #11

Open
Speravir opened this issue Oct 15, 2019 · 0 comments
Open

Replace "eval" method #11

Speravir opened this issue Oct 15, 2019 · 0 comments

Comments

@Speravir
Copy link

Starting with Firefox 70 every script with "eval" will by default cause Firefox do not work at all (there is a config setting for developers, but this really should be used only when testing). Some of your scripts do use this.

I myself use your openNewTab.uc.js, where "eval" is used 8 times. A tip in a forum was to insert the eval code part into the browser console and copying the output (with some cleanup). Using this approach I was successful with some other scripts, but not with your’s. I had to add the functions and afterwards I do not know whether I still do need these. Also a question: Some of the "eval" calls are the same. Wouldn’t it be better to put them into a variable instead and insert this one into the places where the same "eval" call is used now?

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