Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How can invisible one hyperlink window 4

Status
Not open for further replies.

marjansayyad

Technical User
Dec 26, 2013
3
US
Hi,
I want to run one of our websites on the background of my webpage, because I am using its result on my webpage, but I do not want it has been seen by users.
Here is my code:
-------------------
<button onclick="myFunction()">Click</button>
<script type="text/javascript">
function myFunction() {
var win = window.open(" '1366002941508','width=80,height=20,left=1,top=200');
setTimeout(function () { win.close();}, ss);
}
</script>
--------------------
When I add "visible=none" to the window, " cannot be run, but I need it to be run on background, finally it will be closed after some seconds.
Also, I tried with frame, but I think we cannot run any webpage (like ) on frame. I am really stuck:(
Does everybody have any idea about that?
I really appreciate your help.
 
First of all you should stop using a porn site for sample code.

Exactly, which is why I originally wrote
Though I wasn't expecting what I got when I tested it! - Is this a dodgy post?

Which makes me wonder if they are trying to load a hidden porn site deliberately? Though abc or xyz aint a good idea either!



"In complete darkness we are all the same, it is only our knowledge and wisdom that separates us, don't let your eyes deceive you."

"If a shortcut was meant to be easy, it wouldn't be a shortcut, it would be the way!"
Free Electronic Dance Music
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top