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
已提问 4 年前306 查看次数
4 回答
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
已回答 4 年前
0

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

Avery
已回答 4 年前
0

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

已回答 4 年前
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
已回答 4 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则