|
|
|
|
|
by lutusp
4672 days ago
|
|
Any browser that can be locked up by a bit of JavaScript that hogs the thread really needs to have NoScript enabled. The reason is there are too many easy ways to write a processor hog, either intentionally -- function hog_processor() {
while(true) {
}
}
-- or unintentionally, by not knowing something about programming: function beginner_error_run_forever() {
for(var x = 0;x != 10;x += .1) {
// code here
}
}
|
|