Welcome guest. Before posting on our computer help forum, you must register. Click here it's easy and free.

Author Topic: Alert pop up  (Read 11127 times)

0 Members and 1 Guest are viewing this topic.

bluebox

    Topic Starter


    Greenhorn

    Alert pop up
    « on: September 04, 2008, 08:36:36 AM »
     I've got this so far
    input type="button" value="enter"  onFocus="alert('Welcome')
    now when you click the ok button how do you loop the same message everytime you click it ?


    kpac

    • Web moderator
    • Moderator


    • Hacker

    • kpac®
    • Thanked: 184
      • Yes
      • Yes
      • Yes
    • Certifications: List
    • Computer: Specs
    • Experience: Expert
    • OS: Windows 7
    Re: Alert pop up
    « Reply #1 on: September 04, 2008, 09:36:28 AM »
    All you have to use is the onclick function, like this:

    Code: [Select]
    <input type="button" value="Enter" onclick="alert('Welcome!');" />

    Good luck. ;)

    bluebox

      Topic Starter


      Greenhorn

      Re: Alert pop up
      « Reply #2 on: September 04, 2008, 10:12:50 AM »
      that didnt work .. i want the user to have to ctrl alt delete to close explorer because they cant get rid of the alert message

      qinghao



        Intermediate
      • Don't think your self special
        Re: Alert pop up
        « Reply #3 on: September 04, 2008, 11:27:22 AM »
        you want you pop up again and again?
        you are bad boy :D

        bluebox

          Topic Starter


          Greenhorn

          Re: Alert pop up
          « Reply #4 on: September 04, 2008, 11:29:02 AM »
          yes

          qinghao



            Intermediate
          • Don't think your self special
            Re: Alert pop up
            « Reply #5 on: September 04, 2008, 11:30:27 AM »
            haha.. you are really bad! ;D
            let think about it!

            qinghao



              Intermediate
            • Don't think your self special
              Re: Alert pop up
              « Reply #6 on: September 04, 2008, 11:50:26 AM »
              wow ! ;D
              I found myself was the same bad as you !
              Code: [Select]
              I found myself was the same bad as you !
              [code]<script language="javascript">
              function haha()
              {
              alert('haha :D');
              setTimeout(haha(),1000);
              }
              </script>
              <input type="button" value="Enter" onclick="haha();" onmouseover="this.click();" />
              [/code]
              « Last Edit: September 04, 2008, 12:07:57 PM by qinghao »

              bluebox

                Topic Starter


                Greenhorn

                Re: Alert pop up
                « Reply #7 on: September 04, 2008, 11:58:47 AM »
                thanks now im trying to figure out how to make the alert pop up on entry

                bluebox

                  Topic Starter


                  Greenhorn

                  Re: Alert pop up
                  « Reply #8 on: September 04, 2008, 12:06:29 PM »
                  <input type="button" value="Enter" onmouseover="alert('Bluebox! remember the name!')">


                  is there a way to make it pop up with out a button and loop within the input line

                  qinghao



                    Intermediate
                  • Don't think your self special
                    Re: Alert pop up
                    « Reply #9 on: September 04, 2008, 12:18:45 PM »
                    let me have a look. ;D

                    bluebox

                      Topic Starter


                      Greenhorn

                      Re: Alert pop up
                      « Reply #10 on: September 04, 2008, 12:37:59 PM »
                      <input type="image" src="..." onerror="this.src='htt'+'p://i512.photobucket.com/albums/t325/emanuel_capshaw/sexy.jpg'" onLoad="alert('Bluebox! remember the name!');">


                      ok i got this and its fine if only i can loop the alert now

                      kpac

                      • Web moderator
                      • Moderator


                      • Hacker

                      • kpac®
                      • Thanked: 184
                        • Yes
                        • Yes
                        • Yes
                      • Certifications: List
                      • Computer: Specs
                      • Experience: Expert
                      • OS: Windows 7
                      Re: Alert pop up
                      « Reply #11 on: September 05, 2008, 09:36:58 AM »
                      is there a way to make it pop up with out a button and loop within the input line

                      If you want to be really bad, use this: ;D

                      Code: [Select]
                      <html>

                      <head>
                         ...
                      </head>

                      <body onmouseover="alert('Haha!');">
                        ...
                      </body>

                      </html>

                      qinghao



                        Intermediate
                      • Don't think your self special
                        Re: Alert pop up
                        « Reply #12 on: September 05, 2008, 10:06:27 AM »
                        is there a way to make it pop up with out a button and loop within the input line

                        If you want to be really bad, use this: ;D

                        Code: [Select]
                        <html>

                        <head>
                           ...
                        </head>

                        <body onmouseover="alert('Haha!');">
                          ...
                        </body>

                        </html>
                        I have had tried this, this only popup once on the first time your mouse enter the page!

                        kpac

                        • Web moderator
                        • Moderator


                        • Hacker

                        • kpac®
                        • Thanked: 184
                          • Yes
                          • Yes
                          • Yes
                        • Certifications: List
                        • Computer: Specs
                        • Experience: Expert
                        • OS: Windows 7
                        Re: Alert pop up
                        « Reply #13 on: September 05, 2008, 10:38:26 AM »

                        I have had tried this, this only popup once on the first time your mouse enter the page!

                        Does it? Oh... :D
                        Try this:

                        Code: [Select]
                        <html>

                        <body>
                          <script type="text/javascript">
                            var i=0;
                            while (i<=10)
                              {
                                alert("Haha!");
                              }
                          </script>
                        </body>

                        </html>

                        That should work.... ;)

                        ChrisXPPro



                          Adviser

                        • Forever Learning
                        • Thanked: 4
                          • ACB Systems
                        • Computer: Specs
                        • Experience: Experienced
                        • OS: Windows XP
                        Re: Alert pop up
                        « Reply #14 on: September 05, 2008, 10:41:31 AM »
                        I was just gonna add this one which I had among some code snippets - not checked it but it supposedly evil!!

                        Code: [Select]
                        while (true) {
                        alert('Hello world!');
                        }
                        Ain't technology great - until it goes wrong!

                        qinghao



                          Intermediate
                        • Don't think your self special
                          Re: Alert pop up
                          « Reply #15 on: September 06, 2008, 04:40:30 AM »
                          Code: [Select]
                          while (true) {
                          alert('Hello world!');
                          }
                          this won't work ,because there's some limited of loop amount.

                          any other solution?

                          kpac

                          • Web moderator
                          • Moderator


                          • Hacker

                          • kpac®
                          • Thanked: 184
                            • Yes
                            • Yes
                            • Yes
                          • Certifications: List
                          • Computer: Specs
                          • Experience: Expert
                          • OS: Windows 7
                          Re: Alert pop up
                          « Reply #16 on: September 06, 2008, 05:09:16 AM »
                          Does my last one not work? ???

                          bluebox

                            Topic Starter


                            Greenhorn

                            Re: Alert pop up
                            « Reply #17 on: September 11, 2008, 01:41:55 PM »
                            Code: [Select]
                            <input type="image" src="..."onerror="this.src='htt'+'p://i87.photobucket.com/albums/k146/___Hypnotic_____/buttrock.gif'" onLoad="alert('Bluebox \ Remember the name! \ ©2008-2009');">
                            Finally solved it a little late on posting it. Everytime the .gif refreshes a pop up box appears . i use it on a chat client called myspace chat 2. http://www.mspc.com its a pretty nice client keeps from getting spammed and stuff writtin in c++ i just like trying to find exploits within to let the programmer know . thanx for all your help

                            kpac

                            • Web moderator
                            • Moderator


                            • Hacker

                            • kpac®
                            • Thanked: 184
                              • Yes
                              • Yes
                              • Yes
                            • Certifications: List
                            • Computer: Specs
                            • Experience: Expert
                            • OS: Windows 7
                            Re: Alert pop up
                            « Reply #18 on: September 11, 2008, 01:46:13 PM »
                            Exploits to let the programmer know, huh?

                            What has a popup got to do with this?