Disable javascript warning popup

Jun 27, 2014

Hi,

Is it possible to disable the "Javascript support is not available while previewing." popup?

I know its not available and it messes up the first couple of seconds of animation in my preview!

Thanks

24 Replies
Ashley Terwilliger-Pollard

Hi Luke, 

Unfortunately there is no way to remove that pop up - as it's built into the preview functionality (similar to reminders about web objects that won't function in preview). If you need to preview your animations, you may want to preview the individual slides using the play button on the timeline or look into publishing it for web and placing it a testing platform like Tempshare. 

Steve Flowers

Hey Luke,

One way to do this would be to add a condition to your JavaScript trigger and create a variable to drive it. 

Execute JavaScript when timeline starts IF finalPublish=true.

Create a variable called finalPublish and set it to false. When you're ready to publish as final, just go into the variable manager and change this to true and all of your JS triggers will run.

Phil Mayor

Steve Flowers said:

Hey Luke,

One way to do this would be to add a condition to your JavaScript trigger and create a variable to drive it. 

Execute JavaScript when timeline starts IF finalPublish=true.

Create a variable called finalPublish and set it to false. When you're ready to publish as final, just go into the variable manager and change this to true and all of your JS triggers will run.



I love that

Mateusz Szuter

Hello,

nice that Steve shared with some workaround, but can we please ask for adding an simple option in preferences in future releases? Something like "don't show javascript support in preview". Javascripts are used by more experienced people, and probably on many slides, so they already know that doesn't work in preview and probably are a bit frustrated that they must see that popup many times during the preview. And I think we can agree that's not some big issue to change :)

Christopher Lazzaro

The above feature is good for some use cases, but I'd still like the global option to turn it off permanently across all courses. Every one of our courses has JavaScript code for music handling and common functions, so we just want to turn the reminder completely off. It's never useful in our use cases. 

Mateusz Szuter

I'm back after 5 years of my original post.

Dear Storyline Developers, is this really this hard to add a simple tick to not show something again? Come on, please, that's like the simplest QOL improvement you can implement in matter of minutes probably. Please, do this already. That's most annoying thing in whole process of production.

Christopher Lazzaro

I agree.

Following Steve Flowers suggestion above, we've added logic to all of our courses to ignore Javascript on slides whenever a variable is flagged (PublishMode is what we call it). It requires all developers to follow a specific convention that we have to teach, but it gets the job done. Since all of our courses use a javascript instrumentation library, music library, and other javascript-based tools, it's the only way to test the courses without significant friction. Without this convention, each slide would prompt developers multiple times during testing. 

A simple systemwide setting to turn the alert off would eliminate this additional organizational burden for us. The alert is a "feature" that was only useful the very first time it's ever used and does nothing except cause digital friction for the hundreds and thousands of times it triggers afterwards for a course developer. 

A solve would be either a systemwide disable option (preferred) or a persistent non-interactive and non-intrusive banner on the test UI that says Javascript disabled for testing) if you're really concerned about people forgetting about it or need to communicate other things.