• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Open browser popunder

 
Ranch Hand
Posts: 499
Spring AngularJS Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I know we can pop up the default browser by using Desktop class but can we open the browser in pop under mode?
 
Bartender
Posts: 11497
19
Android Google Web Toolkit Mac Eclipse IDE Ubuntu Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What's 'pop under mode'
 
Partheban Udayakumar
Ranch Hand
Posts: 499
Spring AngularJS Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Maneesh,

Pop under is the mode where you open your application at the backside of the current application. For example, ads for dating sites will be opened at the back of our browser when we browse right? I need to do that.
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I don't like such sneaky behavior. What are you trying to accomplish by doing that?
 
author
Posts: 23951
142
jQuery Eclipse IDE Firefox Browser VI Editor C++ Chrome Java Linux Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Ulf Dittmer wrote:I don't like such sneaky behavior. What are you trying to accomplish by doing that?



I always find those ads to be doubly bad. It's bad in that it is spam. It is crap that people don't want. But it is doubly bad, because the user doesn't see it, but since it comes up, I am assuming the advertiser has to pay for it. If I was paying for advertisement, I don't know if I would pay for any advertisement that users don't see.

I guess spammers don't care -- as long as they get paid right?

Henry
 
lowercase baba
Posts: 13089
67
Chrome Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I think the debate about this being "good" or "bad" belongs elsewhere. Just my opinion.

And for what it's worth, sometimes you go to a site and they say "will you take a survey when you are done?" If you say yes, I believe (and I could be wrong) a pop-under window opens so that when you close/finish with the main page, the survey is there waiting.
 
Partheban Udayakumar
Ranch Hand
Posts: 499
Spring AngularJS Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Ulf Henry and fred,

Thanks for your feedbacks, I have no wrong intentions. I would like to clear it up. In a particular module assigned to me as my work, I am asked to do it. Thats it. I searched about it but I didn't find anything about this. So I asked here. As fred pointed out, I am doing it for the survey pop up. Is it possible in java or should I do it using javascript or some other language as c or c ++.
 
author & internet detective
Posts: 41878
909
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Since you are doing this in a browser, it needs to be done on the server side. C/C++ do not run in a browser. Java applets do, but they don't control browser windows.
 
Partheban Udayakumar
Ranch Hand
Posts: 499
Spring AngularJS Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Jeanne,

Thanks for your comment. Server Side? Can you please explain it?
reply
    Bookmark Topic Watch Topic
  • New Topic