Closed (fixed)
Project:
External Links
Version:
7.x-1.12
Component:
Documentation
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
19 Aug 2012 at 16:20 UTC
Updated:
29 Jul 2013 at 02:31 UTC
Jump to comment: Most recent
Comments
Comment #1
gpltwc commentedYou can use this expression to exclude links to facebook.com:
.*facebook\.com\/*.
Comment #2
nothinghere commentedThank you !
I've tried to escape all "." characters.
Seem to work now.
I've added following regexp to escape all extlink icon near all social links :
.*facebook\.com\/*. .*twitter\.com\/* .*linkedin\.com\/* .*google\.com\/*
Seem to work, execpt for twitter.com ... strange. Any tips ?
Links for twitter are in this format : "http://twitter.com/intent/tweet...." Maybe I should just add this :
twitter\.com\/*?Comment #3
bart.hanssens commentedPerhaps try this : .*(twitter|facebook|linkedin|google)\.com\/*
Comment #4
gro11ver commentedThank you for this solution bart.hanssens. It works.
Comment #5
liquidcms commentedyup, regexp is a bitch... i see advantage to provide something url specific; but sad they never adopted patch i submitted for D6 version here: #802562: Only apply in certain DIVs which was ubersimple to use.
Comment #6
elachlan commented#1902220: Add CSS selector inclusion/exclusion should make this easier for you, if you want to exclude a whole region like a footer.
Comment #7
beauregard commentedfor me #3 did not work. so I tried this:
(.*facebook\.com\/*.)|(.*google\.com\/*)|(.*twitter\.com\/*)
which was working on my site