Init script no longer running

0

I have my Cloud9 init script set up to run some important set up for my environment as well as register my custom plugins for code snippets. Just the other day, these functions stopped working, and it seems that the init script is not running on page load.

Is anyone else having issues with their init script running?

Avery
feita há 4 anos306 visualizações
4 Respostas
1

Hi Avery,

Thanks for reaching out. Support for initialization scripts has been discontinued. We're sorry for the inconvenience. If you want to run a script after page load you can do so by installing a browser extension that supports the same functionality.

Best,
Cloud9 Team

AWS
respondido há 4 anos
0

Thanks for the response. Has support for custom plugins also been discontinued?

Avery
respondido há 4 anos
0

The init script used to execute JavaScript code on the server. What kind of "browser extension" is going to replicate that functionality?

respondido há 4 anos
0

I believe the init script only executed JS code on the client side on page load. So an extension that has permission to execute JS code on the current page could be set up to run on page load to replicate the functionality.

However, in my case, I was using the init script to set up a custom plugin using the global services object. But it looks like the services object is no longer available, even if I try to run my scripts manually from the developer console. Was support for the services object also dropped?

Edited by: Avery on Sep 1, 2020 10:36 AM

Avery
respondido há 4 anos

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas