Last active
September 7, 2025 15:49
-
-
Save st1vms/c4f48ef13194af4e5e5313e495e2af51 to your computer and use it in GitHub Desktop.
Order Sisal Sports rows by minutes (Bookmarklet)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| javascript:(function(){const c=document.querySelector('.tipster-theme div');const i=Array.from(c.children);const t=[];const p=[];i.forEach((e,n)=>{const x=e.querySelector('.FR-Livescore__timeDescription');if(x){const m=x.textContent.trim().match(/^(\d+)'/);if(m){t.push({item:e,minutes:parseInt(m[1],10)});p.push(n);}}});t.sort((a,b)=>b.minutes-a.minutes);p.forEach((n,e)=>{c.insertBefore(t[e].item,c.children[n]);});})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment