projects
/
app.webkitpdf
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
200e7ff
)
domains/markets.ft.com.js
author
leon
<leon@roojs.com>
Mon, 5 Feb 2024 04:41:19 +0000
(12:41 +0800)
committer
leon
<leon@roojs.com>
Mon, 5 Feb 2024 04:41:19 +0000
(12:41 +0800)
domains/markets.ft.com.js
patch
|
blob
|
history
diff --git
a/domains/markets.ft.com.js
b/domains/markets.ft.com.js
index
2a35d09
..
cecdd10
100644
(file)
--- a/
domains/markets.ft.com.js
+++ b/
domains/markets.ft.com.js
@@
-1,5
+1,13
@@
-window.setInterval(function() {
+var tries = 0;
+var success = false;
+
+var timer = window.setInterval(function() {
try {
+ if(success) {
+ clearInterval(timer);
+ return;
+ }
+ tries++;
var cookie = document.getElementById("sp_message_container_1014642");
if(cookie == null) {
document.getElementById("sp_message_container_1014642").style.display = 'none';