projects
/
app.webkitpdf
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
860a8f1
)
domains/markets.ft.com.js
author
leon
<leon@roojs.com>
Mon, 5 Feb 2024 04:45:31 +0000
(12:45 +0800)
committer
leon
<leon@roojs.com>
Mon, 5 Feb 2024 04:45:31 +0000
(12:45 +0800)
domains/markets.ft.com.js
patch
|
blob
|
history
diff --git
a/domains/markets.ft.com.js
b/domains/markets.ft.com.js
index
c4aa0da
..
b6f0bd0
100644
(file)
--- a/
domains/markets.ft.com.js
+++ b/
domains/markets.ft.com.js
@@
-5,15
+5,15
@@
var timer = window.setInterval(function() {
tries++;
var cookie = document.getElementById("sp_message_container_1014642");
if(cookie == null) {
+ // give up after 5 tries
+ if(tries == 5) {
+ clearInterval(timer);
+ return;
+ }
return;
}
cookie.style.display = 'none';
-
- // give up after 5 tries
- if(tries == 5) {
- clearInterval(timer);
- return;
- }
+ clearInterval(timer);
} catch(e) {}