LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Reply
 
Search this Thread
Old 01-07-2005, 03:35 PM   #1
dehuszar
Member
 
Registered: Aug 2003
Posts: 41

Rep: Reputation: 15
Pop-ups in Browsers


Okay... here's a loaded question.

How can I create a pop-up window using a system's default browser based on a system message, or part of a script?

I realize that such knowledge can be used to malicious ends, so let me contextualize for a moment.

We have an internal network which is isolated from any DIRECT internet connection. A mail server connected to an A/B/C ethernet switch bounces between our intranet and the internet. What I would like to do is have a pop-up/browser window on either our intranet machines when emails are queued to leave the network, or on the internet research machines when qmail has incoming emails in it's queue.

I have bash scripts in place to push the emails to the 'other' network depending on what network the mail server can successfully ping, is there a way to safely push a message to the default browser of a machine (windows or Linux) based on queue status without leaving the machines (specifically the windows based internet workstations) open to abuse?

Obviously I know the syntax for my various mail apps for queue checking, but if I can avoid setting up an Apache server just to push one of two phrases I'd like to. Is there a way to invoke a browser to load and display a text file, and then be forced to refresh every couple of minutes if an instance of the text file is already in memory?

Perhaps this is pure fantasy, but I thought I'd throw it out into the intellectual ether for comment. Please let me know if I'm unclear. I often am. ;-P

Thanks in advance,
Sam
 
Old 01-07-2005, 07:27 PM   #2
leonscape
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313

Rep: Reputation: 47
What desktop system are you using?
 
Old 01-08-2005, 03:04 PM   #3
dehuszar
Member
 
Registered: Aug 2003
Posts: 41

Original Poster
Rep: Reputation: 15
The Desktops are Windows, the Server is Linux, but I'd prefer to have a means that is cross-platform as we are toying with the idea of going all Linux based in the future.

Unfortunately, I don't know any java, php, perl, or python.

Sam

Last edited by dehuszar; 01-08-2005 at 03:05 PM.
 
Old 01-08-2005, 03:10 PM   #4
leonscape
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Debian SID / KDE 3.5
Posts: 2,313

Rep: Reputation: 47
I don't think theres a easy way ( or perhaps anyway ) to do this across platforms, or even from desktop to desktop.

You'd have to know what to tell the machine to launch, you might be able to do it for a paticular Browser ( Say launching Firefox with a URL to read ) but not for whatever the default is on the system.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Firefox doesn't block pop-ups General Linux - Software 6 06-21-2010 08:42 AM
pop ups brokenflea Slackware 1 03-25-2004 03:52 PM
Blocking Pop-ups Time Lord Linux - Software 6 09-23-2003 08:23 AM
Pop ups mylo2003 General 10 09-12-2003 04:37 PM
pop ups popcorn5714 Linux - Software 3 03-04-2003 11:30 AM


All times are GMT -5. The time now is 11:36 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration