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년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠