Hello,
Is there any way to kill a Javascript infinite loop in Safari without
force-quitting the browser?
MP 5 4948 ma*********@ema il.com wrote: Hello,
Is there any way to kill a Javascript infinite loop in Safari without force-quitting the browser?
seems to not be a real problem, it's so easy to do ...
Menu File / New Tab
or Apple + T
control+clic on looped tab -> popup menu : Close tab
or click on looped tab then Apple + W
--
Stephane Moriaux et son [moins] vieux Mac
In article <11************ **********@g44g 2000cwa.googleg roups.com>, ma*********@ema il.com says... Hello,
Is there any way to kill a Javascript infinite loop in Safari without force-quitting the browser?
Why do you have an infinite loop without a programmatic method of
escape?
--
Hywel http://kibo.org.uk/
"Hywel Jenkins" wrote ma*********@ema il.com says... Hello,
Is there any way to kill a Javascript infinite loop in Safari without force-quitting the browser?
Why do you have an infinite loop without a programmatic method of escape?
Because we are programmers, not God, and cannot foresee everything.
Sometimes we try out a loop only to see if it is infinite or not, sometimes
we try out a loop to find out other things, and find it is infinite even
though we were not looking for it. So, if you can answer the question,
please do so. Being stuck in an infinite loop myself, I am very interested.
Simon.
Zombie wrote: So, if you can answer the question, please do so. Being stuck in an infinite loop myself, I am very interested.
Did you read my own answer ?
--
Stephane Moriaux et son [moins] vieux Mac
In article <42************ ***********@new s.wanadoo.nl>, zo*@bie.net
says... "Hywel Jenkins" wrote ma*********@ema il.com says... Hello,
Is there any way to kill a Javascript infinite loop in Safari without force-quitting the browser? Why do you have an infinite loop without a programmatic method of escape?
Because we are programmers,
Perhaps not very good ones, at that.
not God,
Very funny.
and cannot foresee everything.
You should at least be able to see that you may need a way out of an
infinite loop, especially when debugging.
Sometimes we try out a loop only to see if it is infinite or not, sometimes we try out a loop to find out other things, and find it is infinite even though we were not looking for it. So, if you can answer the question, please do so. Being stuck in an infinite loop myself, I am very interested.
A truly remarkable paragraph.
--
Hywel http://kibo.org.uk/ This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: stan k. |
last post by:
First of all let me clarify - I am not talking about having a bunch of
images loaded all at once (or preloaded) and then controlling the
display of the images after that point -- I know that can be done. I
am talking about controlling the loading of those images themselves.
I was told that the only way to do this was to dynamically write the
html code via javascript and put time delays inbetween the dynamic
creation of that html
such as:
|
by: Gremlin |
last post by:
If you are not familiar with the halting problem, I will not go into
it in detail but it states that it is impossible to write a program
that can tell if a loop is infinite or not. This is a fallacy built
on the assumption of mythical infinite all powerfull machines. In
reality we deal with finite machines that are capable of two states in
a loop, they either terminate, or repeat themselves. In the mythical
halting problem scenario...
|
by: alxasa |
last post by:
Hi, I have a setInterval which executes its command every 10 seconds in
a infinite loop.
I've got something real basic like:
var processes=0;
function startme(){
if(stopthisloop>1)
|
by: James Watt |
last post by:
can anyone tell me how to do an infinite loop in C/C++, please ?
this is not a homework question .
|
by: chengiz |
last post by:
Hi,
I'm trying to run a process from a python script. I need the exit
status of that process but do not care about its output, so until now
was using os.system(). But it turned out that the process often went
into an infinite loop, so I wrote a SIGALRM handler. Unfortunately the
code I came up with is quite kludgy:
import subprocess
....
try:
| |
by: spectrumdt |
last post by:
Thanks for the replies.
On May 8, 5:50 pm, Jean-Paul Calderone <exar...@divmod.comwrote:
Yes, thank you, this seems to work. :)
I did some more testing and found out that the problem seems to be
thread-related. If I have a single-threaded program, then Ctrl+C
usually works, but if I have threads, it is usually ignored. For
instance, the below program does not respond to Ctrl+C (but it does
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
| |
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...
| |