Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 7 of 7
  • Thread Tools
  • Rate This Thread
  1. #1
    New Coder
    Join Date
    Oct 2008
    Posts
    70
    Thanks
    7
    Thanked 2 Times in 2 Posts

    Problems while loading popups in newer browsers

    Hi,

    Is there a new limitation on browsers popups or iframes?

    FF - Opens 25 popups
    OP - Opens 1 popup
    Chrome - Opens 1 popup
    IE - Opens 25 popups
    Edge - didn't tested

    What is the problem?

    Also since my programing skills are old i did try old browsers for compatibility with an aplication that i was developing, more precisely Mozilla 1.6 and Netscape 7.0 but they didn't work. Certificate issues.
    Good News: NitroFlare is the new player in file hosting, buy a premium account and download at full speed.

  2. #2
    Regular Coder
    Join Date
    Feb 2016
    Location
    Keene, NH
    Posts
    311
    Thanks
    0
    Thanked 42 Times in 40 Posts
    Are you saying you WANT to open popups? Little tip, you know how many would open here? ZERO!

    Are you just TRYING to piss off users?
    From time to time the accessibility of websites must be refreshed with the blood of designers and owners; it is its natural manure.
    http://www.cutcodedown.com

  3. #3
    Supreme Master coder! Philip M's Avatar
    Join Date
    Jun 2002
    Location
    London, England
    Posts
    18,929
    Thanks
    211
    Thanked 2,624 Times in 2,602 Posts
    Modern browsers block all unrequested popups.

    All the code given in this post has been tested and is intended to address the question asked.
    Unless stated otherwise it is not just a demonstration.

  4. #4
    New Coder
    Join Date
    Oct 2008
    Posts
    70
    Thanks
    7
    Thanked 2 Times in 2 Posts
    Quote Originally Posted by deathshadow View Post
    Are you saying you WANT to open popups? Little tip, you know how many would open here? ZERO!

    Are you just TRYING to piss off users?
    No, i need popups or frames for the purpose of sending multiple post request.

    Quote Originally Posted by Philip M View Post
    Modern browsers block all unrequested popups.
    This isn't unrequested popups, it's an action method after user interaction.
    Good News: NitroFlare is the new player in file hosting, buy a premium account and download at full speed.

  5. #5
    Master Coder felgall's Avatar
    Join Date
    Sep 2005
    Location
    Sydney, Australia
    Posts
    8,055
    Thanks
    2
    Thanked 808 Times in 797 Posts
    Quote Originally Posted by tribalmp View Post
    No, i need popups or frames for the purpose of sending multiple post request.
    You don't need popups for that. In fact sending multiple post requests is never required.



    Quote Originally Posted by tribalmp View Post
    This isn't unrequested popups, it's an action method after user interaction.
    Any popups not opened by clicking on an <a> link are unrequested - so yours definitely are. Many people now have their browser set so the only popups that open require that they right click on the <a> link and select to open as a popup.
    Stephen
    Learn Modern JavaScript - http://javascriptexample.net/
    Helping others to solve their computer problem at http://www.felgall.com/

    Don't forget to start your JavaScript code with "use strict"; which makes it easier to find errors in your code.

  6. #6
    Regular Coder
    Join Date
    Feb 2016
    Location
    Keene, NH
    Posts
    311
    Thanks
    0
    Thanked 42 Times in 40 Posts
    Quote Originally Posted by tribalmp View Post
    No, i need popups or frames for the purpose of sending multiple post request.
    ...that SOUNDS like nonsense, but do you have an example of what you are trying to accomplish in actual code? If we can't see where you are at, we can't see what may or may not be going wrong.

    So long as files aren't involved (or on modern browsers even if they are) this sounds more like a job for ajax, with a normal page load fallback... aka the old "unwritten rule of JavaScript" -- if you can't make a page that works without JavaScript FIRST, you likely have no business adding scripting to it.
    From time to time the accessibility of websites must be refreshed with the blood of designers and owners; it is its natural manure.
    http://www.cutcodedown.com

  7. #7
    New Coder
    Join Date
    Oct 2008
    Posts
    70
    Thanks
    7
    Thanked 2 Times in 2 Posts
    I'm trying to post the code here for days... connection goes down...

    Code:
    <html>
        <head>
            <title>Email Form</title>
            <script src="jquery.min.js"></script>
            <link rel="stylesheet" href="style.css" />
        </head>
        <body> 
            <div id="mainform">
                    <form id="form">
                        <h3>Fill Your Information!</h3>
                        <div>
                            <label>Email :</label>
                            <br/>
                            <input type="text" id="email"/><br/>
                            <br/>
                            <input type="button" id="submit" onclick="myFunction()" value="Submit"/>
                        </div>
                    </form>
    <script>
    function myFunction() {
        var email = document.getElementById("email").value;
        var dataString = 'email=' + email + '&fullname=';
    
            $.ajax({
                type: "GET",
                url: "http://127.0.0.1/file.php",
                data: dataString,
                cache: false,
            });
            $.ajax({
                type: "GET",
                url: "http://127.0.0.1/file.php",
                data: dataString,
                cache: false,
            });
    	alert('The email was send, Thanks');
        }
    </script>
            </div>
        </body>
    </html>
    Good News: NitroFlare is the new player in file hosting, buy a premium account and download at full speed.


 

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •