bdx33 commited on
Commit
55708f7
·
verified ·
1 Parent(s): 8b63ff3

Update index.html

Browse files
Files changed (1) hide show
  1. index.html +12 -3
index.html CHANGED
@@ -17,19 +17,28 @@
17
  </style>
18
 
19
  <script>
20
- /*
21
  document.addEventListener('DOMContentLoaded', async ()=>{
 
 
 
 
 
 
 
 
22
  let txt = await fetch('leaderboard.tsv').then(x=>x.text())
23
  txt = txt.replaceAll('\t', '</td><td>')
24
  txt = txt.replaceAll('\n', '</td></tr><tr><td>')
25
  txt = '<table><tr><td>' + txt + '</td></tr></table>'
26
  document.body.insertAdjacentHTML('beforeend', txt)
 
27
  })
28
- */
29
  </script>
30
  </head>
31
 
32
- <body>
33
  <div>
34
  <a href="https://gluebenchmark.com/leaderboard/">https://gluebenchmark.com/leaderboard/</a>
35
  </div>
 
17
  </style>
18
 
19
  <script>
20
+
21
  document.addEventListener('DOMContentLoaded', async ()=>{
22
+ if(parent != window){
23
+ let n = +sessionStorage.getItem('HF')
24
+ if(n%2) {
25
+ document.body.style.display = ''
26
+ }
27
+ sessionStorage.setItem('HF', ++n)
28
+ }
29
+
30
  let txt = await fetch('leaderboard.tsv').then(x=>x.text())
31
  txt = txt.replaceAll('\t', '</td><td>')
32
  txt = txt.replaceAll('\n', '</td></tr><tr><td>')
33
  txt = '<table><tr><td>' + txt + '</td></tr></table>'
34
  document.body.insertAdjacentHTML('beforeend', txt)
35
+
36
  })
37
+
38
  </script>
39
  </head>
40
 
41
+ <body style="display: none;">
42
  <div>
43
  <a href="https://gluebenchmark.com/leaderboard/">https://gluebenchmark.com/leaderboard/</a>
44
  </div>