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
asked 4 years ago298 views
4 Answers
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
answered 4 years ago
0

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

Avery
answered 4 years ago
0

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

answered 4 years ago
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
answered 4 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions