I want only show only this red mark line.
I think you have any other think like add in code only show
"6 OVR CSK", "6 OVR PBKS", 20 OVR CSK, 20 OVR PBKS.
I mean if this possible you add in you code to if this show only ?
setInterval(() => {
const els = document.querySelectorAll(".fancy-tripple");
if (els) {
[].forEach.call(els, (div) => {
const el = div.querySelector('.country-name a');
if (!(/d+sove?r/ig.test(el.textContent))) {
div.setAttribute('style', 'opacity: 0.5') // opacity el
div.style.display = 'none' // hide el
}
});
}
1000)
this code working but not all, I want to hide red mark data too.
2
Answers
now i need to help with hide 1.3 OVR LSG, i want to show only 6 OVR, 20 OVR, want to hide 1.3 ovr, this possible ? i mean i want only full numbers
enter image description here
Add a trim and a start
^
like this :assuming your string is
6 OVR LSG
Simpler example: