marjansayyad
Technical User
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.
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.