Fancy some updates?
After some time being quiet, I’ve got some news for you, with version v0.8.5 of SSJS Manager.
Text Preview
The Text preview has got a new small feature - a countdown timer and a timeout. Now you know how long you have been waiting for the result.
Regular preview might get this later.
More security!
I’ve added a new feature to the extension - automatic token and auth password rotation. This is a security feature to protect your development environment from potential security breaches. There’s nothing for you to do, this is fully automated and will be done monthly.
RunAt client??
Have you ever noticed, that you cannot fully put frontend script tags in your content blocks? Since sometimes they go missing? Sure, there’s a workaround for that - CONCAT-script hack.
%%=Concat('<scr','ipt>')=%%
/* your JS code */
%%=Concat('</scr','ipt>')=%%
But when you write this snippet, you no longer get the syntax highlighting and so on…
Now, you can just write your script tags like you are used to. Just add runat=client attribute to the opening script tag.
<script runat="client">
/* your JS code */
</script>
On upload or templating, the extension will automatically replace the script tags with the CONCAT-script hack. Easy, right?
And more…
Of course, there are some other improvements and fixes. Last one I would like to mention is the editor flashing feature. When you upload your script, the editor can flash its background based on success / fail of the operation. This is disabled by default for accessibility.