Forums / All Other Contributions/Addons / SSL vs Bookmark Script

SSL vs Bookmark Script

Locked

Started by jabbawest on 5 Aug 2010, 6:47 PM · Views: 840

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
5 Aug 2010, 6:47 PM
#1
jabbawest avatar

jabbawest

Zen Follower

Join Date:
Oct 2009
Location:
Texas
Posts:
197
Plugin Contributions:
0

SSL vs Bookmark Script

I've tried a combination of things, including changing http>https in this current script and I tried to host all of the images on my server but I cannot securely display this script.
Could someone have a look at this and give me a suggestion?

<div align="center"><script language="JavaScript" type="text/JavaScript">
<!--
function Social_Load() { 
var d=document; if(d.images){ if(!d.Social) d.Social=new Array();
var i,j=d.Social.length,a=Social_Load.arguments; for(i=0; i<a.length; i++)
if (a[i].indexOf("#")!=0){ d.Social[j]=new Image; d.Social[j++].src=a[i];}}
}
Social_Load('http://www.social-bookmark-script.de/img/bookmarks/del_trans_ani.gif','http://www.social-bookmark-script.de/img/bookmarks/reddit_trans_ani.gif','http://www.social-bookmark-script.de/img/bookmarks/stumbleupon_trans_ani.gif','http://www.social-bookmark-script.de/img/bookmarks/yahoo_trans_ani.gif','http://www.social-bookmark-script.de/img/bookmarks/google_trans_ani.gif','http://www.social-bookmark-script.de/load.gif')
function schnipp() { 
var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}
function schnupp(n, d) { 
  var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
  d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=schnupp(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
  }
function schnapp() { 
  var i,j=0,x,a=schnapp.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
  if ((x=schnupp(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
  }
  //-->
</script>

<a rel="nofollow" style="text-decoration:none;" href="http://www.facebook.com/share.php?u=/" onclick="window.open('http://www.facebook.com/share.php?u='+encodeURIComponent(document.title)+'&d=&tag=&u='+encodeURIComponent(location.href));return false;" title="Share this site with your facebook friends"><img src="http://www.sterlingleafjewelry.com/images/facebook.gif" rel="image_src" href="http://www.sterlingleafjewelry.com/images/facebook.gif" width="20" height="20" border="0" style="padding-bottom:1px;" /></a>

<a rel="nofollow" style="text-decoration:none;" href="http://www.yahoo.com/" onclick="window.open('http://myweb2.search.yahoo.com/myresults/bookmarklet?t='+encodeURIComponent(document.title)+'&d=&tag=&u='+encodeURIComponent(location.href));return false;" title="Share this site with your yahoo friends" onmouseover="schnapp('Yahoo','','http://www.social-bookmark-script.de/img/bookmarks/yahoo_trans_ani.gif',1)" onmouseout="schnipp()" > <img src="http://www.social-bookmark-script.de/img/bookmarks/yahoo_trans.gif" alt="Add to: Yahoo" name="Yahoo" width="20" height="20" border="0" id="Yahoo" style="padding-bottom:1px;"> </a>

<a rel="nofollow" style="text-decoration:none;" href="http://www.stumbleupon.com/" onclick="window.open('http://www.stumbleupon.com/submit?url='+encodeURIComponent(location.href)+'&title='+encodeURIComponent(document.title));return false;" title="Add to: StumbleUpon" onmouseover="schnapp('StumbleUpon','','http://www.social-bookmark-script.de/img/bookmarks/stumbleupon_trans_ani.gif',1)" onmouseout="schnipp()" > <img src="http://www.social-bookmark-script.de/img/bookmarks/stumbleupon_trans.gif" alt="Add to: StumbleUpon" name="StumbleUpon" width="20" height="20" border="0" id="StumbleUpon" style="padding-bottom:1px;"> </a>

<a rel="nofollow" style="text-decoration:none;" href="http://www.google.com/" onclick="window.open('http://www.google.com/bookmarks/mark?op=add&hl=co.uk&bkmk='+encodeURIComponent(location.href)+'&annotation=&labels=&title='+encodeURIComponent(document.title));return false;" title="Add to: Google" onmouseover="schnapp('Google','','http://www.social-bookmark-script.de/img/bookmarks/google_trans_ani.gif',1)" onmouseout="schnipp()" > <img src="http://www.social-bookmark-script.de/img/bookmarks/google_trans.gif" alt="Add to: Google" name="Google" width="20" height="20" border="0" id="Google" style="padding-bottom:1px;"></a>
	
<a rel="nofollow" style="text-decoration:none;" href="http://del.icio.us/" onClick="window.open('http://del.icio.us/post?v=2&url='+encodeURIComponent(location.href)+'&notes=&tags=&title='+encodeURIComponent(document.title));return false;" title="Add to: Del.icio.us" onMouseOver="schnapp('Delicious','','http://www.social-bookmark-script.de/img/bookmarks/del_trans_ani.gif',1)" onMouseOut="schnipp()" > <img style="padding-bottom:1px;" src="http://www.social-bookmark-script.de/img/bookmarks/del_trans.gif" alt="Add to: Del.icio.us" name="Delicious" border="0" id="Delicious"> </a>
</div>

Thank you

Fine Jewelry For Any Budget
Sterling Leaf Jewelry
Rolling in the Zen

5 Aug 2010, 8:11 PM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: SSL vs Bookmark Script

Drop this script on your secure pages

Zen-Venom Get Bitten

6 Aug 2010, 5:26 PM
#3
jabbawest avatar

jabbawest

Zen Follower

Join Date:
Oct 2009
Location:
Texas
Posts:
197
Plugin Contributions:
0

Re: SSL vs Bookmark Script

kobra:

Drop this script on your secure pages
Enlighten me please, as I'm not quite sure what you mean.
It's currently in custom_template/tpl_footer.php and, as mentioned in a previous thread about this, the images are being hosted on the site that generates this script, except for face book, which is hosted on mine.

Thanks

Fine Jewelry For Any Budget
Sterling Leaf Jewelry
Rolling in the Zen

7 Aug 2010, 3:40 AM
#4
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: SSL vs Bookmark Script

Enlighten me please, as I'm not quite sure what you mean.
It's currently in custom_template/tpl_footer.php
For each secure page note the url i.e.

index.php?main_page=login

Create another custom tpl_footer.php without the script code
Create folders named for the pages in your template i.e.

folder name = login

Place new tpl_footer.php in the folder

Zen-Venom Get Bitten

8 Aug 2010, 12:28 AM
#5
jabbawest avatar

jabbawest

Zen Follower

Join Date:
Oct 2009
Location:
Texas
Posts:
197
Plugin Contributions:
0

Re: SSL vs Bookmark Script

kobra:

For each secure page note the url i.e.

index.php?main_page=login

Create another custom tpl_footer.php without the script code
Create folders named for the pages in your template i.e.

folder name = login

Place new tpl_footer.php in the folder

Ahhh, I see.

Thank you.

Fine Jewelry For Any Budget
Sterling Leaf Jewelry
Rolling in the Zen