From: dannym Date: Wed, 18 Aug 2010 22:05:09 +0000 (+0200) Subject: FF_EXT: Fixed "save to Insipid" links on del.icio.us pages. [2] X-Git-Tag: 2.1-alpha-2019-0-29~139 X-Git-Url: http://91.132.146.200/gitweb/?a=commitdiff_plain;h=663198d3b53528f6cf34e044ef6bcc2842b9f9b3;p=insipid.git FF_EXT: Fixed "save to Insipid" links on del.icio.us pages. [2] --- diff --git a/ff_ext/inspd@danny/chrome/inspd/content/inspdoverlay.js b/ff_ext/inspd@danny/chrome/inspd/content/inspdoverlay.js index d78a708..f2e58ae 100644 --- a/ff_ext/inspd@danny/chrome/inspd/content/inspdoverlay.js +++ b/ff_ext/inspd@danny/chrome/inspd/content/inspdoverlay.js @@ -316,7 +316,7 @@ var $inspd = { onPageLoad: function(aEvent) { if (aEvent.originalTarget.nodeName == '#document'){ var doc = aEvent.originalTarget; - if(doc.location.href.match('^http://delicious.com/') && $prefs.get('delintegrate') == '1' ){ + if(doc.location.href.match(/^http:\/\/delicious.com\/|^http:\/\/www.delicious.com\//) && $prefs.get('delintegrate') == '1' ){ $delpage.draw_postToInsipid(doc); } else if (doc.location.href.match('^'+$prefs.get('defurl')+'\\?op=add_bookmark') && $prefs.get('altpost') !== '0' && doc.forms[1]){