Pergunta

I have a client that is wanting to embed their social media timelines within their website, but does not want them to contain any outgoing links that would take the visitor away from the website. I am wondering if this is possible. I have tried to look through the API's without any luck.

I have also tried just disabling the links within the containers using both CSS and Jquery (non-functional).

JSFiddle Demo

These are the two methods i've tried:

CSS:

pointer-events: none;
cursor: default;

Jquery:

$("#twitter-feed a").css({"color":"#888888", cursor: "default"}).click(function(e){
e.preventDefault();
});

So far i've only been testing on the Twitter feed. I can get the CSS to disable the links, but it also keeps the widget from being able to scroll.

Having said all that, i've been trying this with a Twitter widget created through twitter.

Nenhuma solução correta

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top