Close Window in IE from javascript. (Small Hack)

When trying to close an window from javascript in IE, which is opened manually,
a security warning “The web page you are viewing is trying to close the window. Do you want to close this window? Yes|No ” is popping up. Is there any possibility to close a window silently? Yes.

A simple hack i found on the web will help to get rid of this situation.


this.focus();
self.opener = this;
self.close();

but in Firefox you can do this. Firefox will not allow you to close using the above code. Maybe anybody found/having any code post it here.

128 Replies to “Close Window in IE from javascript. (Small Hack)”

  1. Hey there! I’m at work surfing around your blog from my new
    apple iphone! Just wanted to say I love reading your blog and look forward to all your posts!
    Carry on the great work!

  2. Hey there! This is kind of off topic but I need some
    advice from an established blog. Is it hard to set up your own blog?
    I’m not very techincal but I can figure things out pretty quick.
    I’m thinking about creating my own but I’m not sure where to start.
    Do you have any points or suggestions? Many thanks

    Feel free to visit my blog … abnehmen acai beeren

  3. Hmm is anyone else encountering problems with the images on this blog loading?
    I’m trying to figure out if its a problem on my end or if it’s
    the blog. Any responses would be greatly appreciated.

  4. Tanning allows you to experiment with different styles and looks.
    To start with, one should test out this product by making use of
    the item with a small portion of your skin and observe for
    reactions. However, with all those plucking and re-growing of eyebrows, the hair follicles could be damaged causing
    it to stop from growing back.

    My website – tan

  5. Fantastic items from you, man. I’ve keep in mind your stuff previous to and you are just extremely great.
    I really like what you’ve got here, certainly
    like what you are stating and the way in which in which you are saying it.

    You make it enjoyable and you continue to take care
    of to stay it smart. I can’t wait to read far more from you.
    This is really a tremendous website.

    Here is my blog post: ????? ????? ??? ????????

  6. I’m very happy for being right here simply because
    this is a great site that provides a great
    deal of specifics of the actual topics covered in depth. Internet marketing delighted to see that men and
    women are covering this challenge in that clever way, exhibiting us all different facets going without running shoes.

    You should continue. My partner and i cant wait to learn to read whats up coming.

  7. This design is spectacular! You certainly know how to keep a reader entertained.

    Between your wit and your videos, I was almost moved to start my own blog (well, almost…HaHa!) Excellent job.
    I really enjoyed what you had to say, and more than that, how you presented it.
    Too cool!

  8. My spouse and I stumbled over here different website and thought I
    should check things out. I like what I see so i am just following you.
    Look forward to finding out about your web page for a second time.

  9. It can be summed up as an Affordable SEO Service which
    has a lot to offer you from controlling your traffic and increasing your rank
    potentially by optimizing your website for the biggest and most reliable search
    engines namely: Google, Yahoo and Bing, Ask to many
    new perks such as upgrades etc. So, you’ve gone
    through and built a starting network. Provide professional,
    customized and purposeful campaigns and strategies,
    to bring measurable results to clients those who wish to achieve holistic online presence.

    Here is my web page – delray beach social media marketing video

  10. Payments on my home rarely cause me stress or concern. It made me
    want to quit my job, go home, and draw for hours just to see if I could even come close to this man’s work.
    An advanced graphic artist who has mastered the basic level can explore the gradient
    design with Photoshop masking technique.

  11. Dessert clicker cheats is really a distinctive application applied only by specialized cookie clicker gamers on the net..
    Now we have been launching it into the consumer initially!
    By downloading the cookie clicker cheats from our site, enhance your
    gaming experience drastically. Your activities will never be precisely
    the same yet again, it will be possible to generate infinite
    sums of cupcakes and build as many industrial facilities since
    you need. Additionally, there are specific rules that can be used using the dessert clicker secrets and cheats to open secret ways and buildings of making snacks without doing any do
    the job! Hopefully all of you enjoy this application as out ream spent some time
    working hard to get it and make it employed by so long!
    Are you worried that if you have an iPhone or android that it will not work?
    This problem is definitely settled since we have added a web link to your dessert clicker
    secrets and cheats cellular type! You may enjoy working
    with our cookie clicker resource anywhere any time.

    My page how to Get Unlimited cookies

  12. Pingback: ??? ???
  13. I have noticed you don’t monetize your site, don’t waste
    your traffic, you can earn additional bucks every month because
    you’ve got high quality content. If you want
    to know how to make extra bucks, search for: Boorfe’s tips best adsense alternative

Leave a Reply to aaaaa Cancel reply

Your email address will not be published. Required fields are marked *