3 ms·
Anything starting '-' won't show up on Google, it will literally give you empty results, so that's why -webkit-match-parent gives nothing and webkit-match-paren
by no_way 5y ago
Anything starting '-' won't show up on Google, it will literally give you empty results, so that's why -webkit-match-parent gives nothing and webkit-match-parent works.
- EMM_386 5y agoJust surround anything prefixed with a "-" in quotes. "-webkit-match-parent"
- blooalien 5y agoYa beat me to it. There's all kinda good little search tricks like that besides just the quotes, too. Really effective search engine research skills are almost an art-form these days. ;)
- deleted 5y ago[deleted]
- Hello71 5y agothis reminds me of https://nautil.us/blog/impossibly-hungry-judges https://nautil.us/blog/impossibly-hungry-judges: google has the majority of github repos indexed (although isn't always great at giving you the best result), and webkit is a pretty popular software. unless this parameter was added to the codebase literally minutes ago, google should have at least some results. the fact that absolutely no results show up means that something is either wrong with google, or more likely, your query.
- inlikealamb 5y agoIt's a Google feature that isn't very smart... adding a dash before a word will exclude results containing that word I suspect it trips up people that don't know this more than it's actually used.
- DonHopkins 5y agoIt's not that the "-" prefix is just a harmless undocumented feature that only (a few) people who know about it use, it's more that it's an insidious undocumented foot gun that shoots (most) people who don't know about it when they use it accidentally. Google should at least show a user friendly help message at the top of the page, that actually teaches users about the filtering feature, and lets you turn it off, like: Results containing "webkit-match-parent" omitted because of "-" prefix. (Click to include.) But that would reduce the ad surface area by a tiny amount, so oh well...
- inlikealamb 5y agoThey'd probably solve most of their problems by simply recognizing that a single term with a - isn't an exclusion, because it returns no results. That's like... a 10 minute regex fix