• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

CEP javascript won't execute when launching the extension from menu

Explorer ,
Jul 09, 2024 Jul 09, 2024

Copy link to clipboard

Copied

<!doctype html>
<html lang="en">
<head>
<title>**</title>
</head>
<body>
</body>
<script>
window.onload = function(){
alert("hiloo");
}
</script>
</html>

alert won't  execute unless I set UI in manifest.xml as
<Type>Modeless</Type>


..but I want type to be Panel
what am I missing?

TOPICS
Scripting , SDK

Views

83

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe
Participant ,
Jul 12, 2024 Jul 12, 2024

Copy link to clipboard

Copied

LATEST

Have you tried setting autostart to true in the manifest (a shot in the dark)

 

Why do you need onload? You're already at the end of the bidy tag.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines