m_f@discuss.online to Mildly Infuriating@lemmy.worldEnglish · 24 days agoHide modal for 2 weeksdiscuss.onlineimagemessage-square23fedilinkarrow-up1128arrow-down12file-text
arrow-up1126arrow-down1imageHide modal for 2 weeksdiscuss.onlinem_f@discuss.online to Mildly Infuriating@lemmy.worldEnglish · 24 days agomessage-square23fedilinkfile-text
minus-squaredeadcream@sopuli.xyzlinkfedilinkEnglisharrow-up13·24 days agoOften those sites randomly generate ids and classes, so it will work only once.
minus-squareRusty@lemmy.calinkfedilinkEnglisharrow-up2·23 days agoYou can use pseudo classes like div:nth-child(1) or xpath to work around it.
minus-squareEager Eagle@lemmy.worldlinkfedilinkEnglisharrow-up2·edit-223 days agoThat usually works IME, you just need to drag the sliders to pick a more general selector than an ID or specific class
Often those sites randomly generate ids and classes, so it will work only once.
I hate that.
You can use pseudo classes like div:nth-child(1) or xpath to work around it.
That sounds too fragile
That usually works IME, you just need to drag the sliders to pick a more general selector than an ID or specific class