Here's the javascript that allows me to set up a Safari bookmark as a sharing portal:
Code:
javascript:void((function(svc)%20%7Bvar
%20d=document,w=window,p=0,b=function()%7Bif(!p)%7Bp=1;if
(w.addthis_sendto)addthis_sendto(svc%7C%7C'bkmore',
%7Bproduct:'bkm-'+_atc.ver%7D)%7Delse%7Bp=0;if(_atw)_atw.clb()%7D%7D;if
(!w._atc)%7Bvar%20ol=w.addthis_onload%7C%7C%5B%5D,o=d.createElement
('script');o.src='//s7.addthis.com/js/250/addthis_widget.js?
domready=1&username=bookmarklet';ol.push
(b);w.addthis_onload=ol;d.getElementsByTagName('body')
%5B0%5D.appendChild(o)%7Delse%20b()%7D)())
Now what I need to do is somehow integrate that into the YouTube app. When you click share on the YouTube app, it opens up the Mail app automatically. I need to find a way to edit that so safari opens up and takes me to that AddThis page in Safari.
I know I can also copy and paste the link into the safari app, but if I can figure out how to do it this way, the process will be more streamlined.
Any help would be appreciated. Thanks!