A great addition to this module would be the ability to - for example - choose #main-inner as the only div where to apply the external links icon.

The problem with this module, as it stands, is that a lot of links (share on facebook etc) are affected, and there's no way to prevent it.

Comments

quicksketch’s picture

Hmm, this could be a good idea. I should point out that you can white/blacklist certain URLs already, so you could add the "share.facebook.com" (or whatever it is) URL as something that is blacklisted. Extlink also will automatically not add an icon to any link that is display: block.

adamgerthel’s picture

I know that I can whitelist certain URL:s, but css selectors are used by so many modules already and are very common, which would make it easier for a lot of people to use.

It's also a hassle to whitelist 30+ URL:S, when you could target one single class or id

quicksketch’s picture

Status: Active » Closed (won't fix)

I would prefer not to add this functionality. For the vast majority of users they are unable to remember the names of classes or use classes appropriately at all. The current approach requires effort on the part of the administrator but absolutely no work on the part of the users of the site.

If you would like to target certain parts of the site and hide the icon, you can do so in your own CSS file:

#some-section span.ext {
  background: none;
  padding: 0;
}