How can I filter the ext links to only show a popup with a warning when a link has the class="external" ?
or how do you filter that with regex code ?!?!

Comments

quicksketch’s picture

Status: Active » Closed (duplicate)

You can only match on the URL currently, not on the class. See the feature request at #1054676: Exclude/include specific jQuery selectors from processing.

jorisx’s picture

Aha, filter on a specific class would be an excellent feature!

I'm new to regex... have been looking around but couldn't find a good explanation.
how do filter only for domainx.com and domainy.com with regex?
and leave all other kind of (ext)links untouched?

thanx! :)