What software have you made to improve your workflow or rice? - Desktop Customization & Workflow
Users browsing this thread: 1 Guest(s)
|
|||
(11-09-2019, 11:09 AM)budRich Wrote:(11-09-2019, 07:05 AM)zge Wrote: Thanks, but shouldn't the regex be have a ^ and a $? If I'm not mistaken, your bloking anyone who has "jkl" as a substring. I registered for the sole purpose of submitting an improvement. Code: $('table').has("a[href='https://nixers.net/member.php?action=profile&uid=1548']").has("span[class='usernames']").css('display', 'none'); It selects only tables where there is a child <a> element that links directly to the offending user. And because this created problems with the main forum page, it also requires a <span> child with the class of 'usernames'. It appears sufficiently specific to circumvent any overzealous matching, and small enough to please the eye. |
|||