This version is old school.
Please find jQuery plugins on npm.
findSafe
by P'unk Avenue
Query a selector while ignoring matches within specific nested elements.
Query a selector while ignoring matches within specific nested elements.