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

Block or allow pop-ups using in Photoshop HTML extension

Engaged ,
Oct 26, 2017 Oct 26, 2017

Copy link to clipboard

Copied

Hi Everyone,

Is there is possible to Block or allow pop-ups using in Photoshop HTML extension?

I need to open webpage in Inner HTML, If suppose I do It show's Popup blocked.

Please suggest me how do I solve the problem.

Code:

<html xmlns="http://www.w3.org/1999/xhtml">

<head>

    <title></title>

</head>

<body>  

    <div id="topBar"> <a href ="#" onclick="load_home()"> HOME </a> </div>

  <div id ="content"> </div>

  <script>

  function load_home() {

     document.getElementById("content").innerHTML='<object type="text/html" data="http://xxxxxx.yyy.com/zzz/homepage.asp" style="width:300px; height:300px;"></object>';

  }

  </script>

   

    </body>

</html>

-yajiv

Views

1.1K

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
Guru ,
Oct 26, 2017 Oct 26, 2017

Copy link to clipboard

Copied

Maybe this will help

javascript - Remove POP up in Iframe - Stack Overflow

<iframe src="pageURL" sandbox="allow-forms allow-pointer-lock allow-same-origin allow-scripts allow-top-navigation"></iframe>

IF not try https://www.google.com/search?num=50&safe=active&ei=cZXxWZ_FNIKAmQHH1LyYDg&q=block+pop+up+in+Iframe+...

Post the answer here

HTH

Trevor

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
Engaged ,
Oct 26, 2017 Oct 26, 2017

Copy link to clipboard

Copied

Hi Trevor,

Thank you for the prompt response and I am getting same result ..

Please advice.

Screen Shot 2017-10-26 at 2.48.01 pm.png

-yajiv

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
Guru ,
Oct 26, 2017 Oct 26, 2017

Copy link to clipboard

Copied

A start would be to see what's triggering the alert. It's probably the js on the source of the iframe content.

Examining the downloaded source contents would e a good start.

You can examine it easily with any regular browser.

If you can find the line that creates the alert then you can think about neutralizing it.

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
Engaged ,
Oct 26, 2017 Oct 26, 2017

Copy link to clipboard

Copied

Hi Trevor,

The HTML code is working well in regular browser. However is not working inside Photoshop HTML extension.

Please advice.

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
Engaged ,
Oct 30, 2017 Oct 30, 2017

Copy link to clipboard

Copied

LATEST

Hi Everyone,

Any Update on the below post.?

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