File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 8282</ script >
8383
8484
85- < script >
86- ( function ( ) {
87- try {
88- // Share on X near Watch demo
89- const demoBtn = document . getElementById ( 'watchDemo' ) ;
90- if ( demoBtn ) {
91- const share = document . createElement ( 'a' ) ;
92- const text = encodeURIComponent ( 'Metridex QuickScan — 60s token risk snapshot' ) ;
93- const url = encodeURIComponent ( 'https://metridex.com' ) ;
94- const hashtags = encodeURIComponent ( 'MetridexQuickScan,DeFiSafety' ) ;
95- share . href = `https://twitter.com/intent/tweet?text=${ text } &url=${ url } &hashtags=${ hashtags } ` ;
96- share . target = "_blank" ;
97- share . rel = "noopener" ;
98- share . className = "btn-ghost btn-sm" ;
99- share . textContent = "Share on X" ;
100- share . onclick = function ( ) { try { plausible && plausible ( 'X_Share_Click' ) ; } catch ( e ) { } } ;
101- demoBtn . insertAdjacentElement ( 'afterend' , share ) ;
102- }
10385
104- catch ( e ) { } } ;
105- // Try to append to a right-aligned container if exists
106- const right = footer . querySelector ( '.footer-right, .container, .wrap, .inner' ) || footer ;
107- right . appendChild ( follow ) ;
108- }
109- } catch ( err ) { /* no-op */ }
110- } ) ( ) ;
111- </ script >
11286
11387
11488< script >
You can’t perform that action at this time.
0 commit comments