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
demandé il y a 4 ans306 vues
4 réponses
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
répondu il y a 4 ans
0

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

Avery
répondu il y a 4 ans
0

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

répondu il y a 4 ans
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
répondu il y a 4 ans

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions