Closed (duplicate)
Project:
External Links
Version:
7.x-1.9
Component:
Documentation
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
26 Apr 2012 at 05:38 UTC
Updated:
26 Apr 2012 at 05:56 UTC
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
Comment #1
quicksketchYou can only match on the URL currently, not on the class. See the feature request at #1054676: Exclude/include specific jQuery selectors from processing.
Comment #2
jorisx commentedAha, 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! :)