m_f@discuss.online to Mildly Infuriating@lemmy.worldEnglish · 15 days agoHide modal for 2 weeksdiscuss.onlineimagemessage-square24fedilinkarrow-up1133arrow-down12file-text
arrow-up1131arrow-down1imageHide modal for 2 weeksdiscuss.onlinem_f@discuss.online to Mildly Infuriating@lemmy.worldEnglish · 15 days agomessage-square24fedilinkfile-text
minus-squaredeadcream@sopuli.xyzlinkfedilinkEnglisharrow-up12·15 days agoOften those sites randomly generate ids and classes, so it will work only once.
minus-squareRusty@lemmy.calinkfedilinkEnglisharrow-up2·14 days agoYou can use pseudo classes like div:nth-child(1) or xpath to work around it.
minus-squareEager Eagle@lemmy.worldlinkfedilinkEnglisharrow-up2·edit-214 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