File tree Expand file tree Collapse file tree 1 file changed +32
-0
lines changed
Expand file tree Collapse file tree 1 file changed +32
-0
lines changed Original file line number Diff line number Diff line change 1+ <!DOCTYPE html>
2+ < html >
3+ < head >
4+ < title > Jami Proxy List</ title >
5+ < style >
6+ body { font-family : Arial, sans-serif; margin : 40px ; }
7+ h1 { color : # 333 ; }
8+ ul { list-style : none; padding : 0 ; }
9+ li { padding : 10px ; background : # f5f5f5 ; margin : 5px 0 ; border-radius : 5px ; }
10+ code { background : # e8e8e8 ; padding : 2px 6px ; border-radius : 3px ; }
11+ </ style >
12+ </ head >
13+ < body >
14+ < h1 > Jami DHT Proxy List</ h1 >
15+ < p > JSON file: < code > https://avvdev.github.io/proxy_list.json</ code > </ p >
16+ < h2 > Available Proxies:</ h2 >
17+ < ul id ="proxies "> </ ul >
18+
19+ < script >
20+ fetch ( 'proxy_list.json' )
21+ . then ( r => r . json ( ) )
22+ . then ( data => {
23+ const list = document . getElementById ( 'proxies' ) ;
24+ data . forEach ( proxy => {
25+ const li = document . createElement ( 'li' ) ;
26+ li . textContent = proxy ;
27+ list . appendChild ( li ) ;
28+ } ) ;
29+ } ) ;
30+ </ script >
31+ </ body >
32+ </ html >
You can’t perform that action at this time.
0 commit comments