projects
/
app.webkitpdf
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a681203
)
fix #8002 - markets.ft.com screenshots
author
Alan
<alan@roojs.com>
Mon, 5 Feb 2024 06:46:37 +0000
(14:46 +0800)
committer
Alan
<alan@roojs.com>
Mon, 5 Feb 2024 06:46:37 +0000
(14:46 +0800)
domains/markets.ft.com.js
[new file with mode: 0644]
patch
|
blob
diff --git a/domains/markets.ft.com.js
b/domains/markets.ft.com.js
new file mode 100644
(file)
index 0000000..
557dacc
--- /dev/null
+++ b/
domains/markets.ft.com.js
@@ -0,0
+1,22
@@
+(function (args) {
+ var tries = 0;
+ var timer = window.setInterval(function() {
+ try {
+ tries++;
+ var cookie = document.getElementById("sp_message_container_1014642");
+
+ if(cookie == null) {
+ // give up after 5 tries
+ if(tries == 5) {
+ clearInterval(timer);
+ }
+ return;
+ }
+ cookie.style.display = 'none';
+ clearInterval(timer);
+
+ } catch(e) {}
+
+ },150);
+
+})();
\ No newline at end of file