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

FireNVim does not work with codesignal #1413

Open
huangyingw opened this issue Aug 22, 2022 · 5 comments
Open

FireNVim does not work with codesignal #1413

huangyingw opened this issue Aug 22, 2022 · 5 comments

Comments

@huangyingw
Copy link

  • OS Version: macOS 12.5.1
  • Browser Version: Chrome 104.0.5112.101
  • Browser Addon Version: 0.2.13
  • Neovim Plugin Version: 0.2.13

What I tried to do

Try to use FireNVim to edit the textbox of codesignal live interview page, url like:
https://app.codesignal.com/arcade/intro/level-1/jwr339Kq6e3LQTsfa
The above url is a free exercise, once you sign up, and you could do exercise with.

What happened

No nvim appear.
@glacambre
Copy link
Owner

Looks like the page's CSP prevents injecting the scripts that work with monaco.

@huangyingw
Copy link
Author

Looks like the page's CSP prevents injecting the scripts that work with monaco.

is it possible to hack the page's CSP?

@glacambre
Copy link
Owner

No, it's not.

@acicco
Copy link

acicco commented Aug 25, 2022

At least that site has got VIM mode, I wish FreeCodeCamp would also do.

@drselump14
Copy link

The real reason it's not working is that since version 0.22.0 monaco-editor stopped exposing global window.monaco which the editor-adapter relied on. The global window.monaco can be exposed by setting to true to monaco webpack globalAPI options

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