with queryparam 't' to t=tabname
$refs.levels?.querySelectorAll('a').forEach(link => {
const url = new URL(link.href);
if(url.searchParams.get('t')){
url.searchParams.set('t', tabname);
}
link.href = url.toString();
});
"
>
Player stats
|
|
S | V | O | F | +/- | GM | IM | P | |
|---|---|---|---|---|---|---|---|---|---|
| 1 | 1 | 1 | 0 | 0 | 14 | 16 | 2 | 2 | |
| 1 | 1 | 1 | 0 | 0 | 5 | 17 | 12 | 2 | |
| 3 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | |
| 3 | 1 | 0 | 0 | 1 | -14 | 2 | 16 | 0 | |
| 3 | 1 | 0 | 0 | 1 | -5 | 12 | 17 | 0 | |