]> 91.132.146.200 Git - insipid.git/commitdiff
FF_EXT: Fixed "save to Insipid" links on del.icio.us pages. [2]
authordannym <dannymiles2@gmail.com>
Wed, 18 Aug 2010 22:05:09 +0000 (00:05 +0200)
committerdannym <dannymiles2@gmail.com>
Wed, 18 Aug 2010 22:05:09 +0000 (00:05 +0200)
ff_ext/inspd@danny/chrome/inspd/content/inspdoverlay.js

index d78a708e82e4975d193138937ac615753cc8af53..f2e58ae66598c4c6a9f657aba197ec4ed1b730d9 100644 (file)
@@ -316,7 +316,7 @@ var $inspd = {
        onPageLoad: function(aEvent) {\r
                if (aEvent.originalTarget.nodeName == '#document'){\r
                        var doc = aEvent.originalTarget;\r
-                               if(doc.location.href.match('^http://delicious.com/') && $prefs.get('delintegrate') == '1' ){\r
+                               if(doc.location.href.match(/^http:\/\/delicious.com\/|^http:\/\/www.delicious.com\//) && $prefs.get('delintegrate') == '1' ){\r
                                        $delpage.draw_postToInsipid(doc);\r
                                }\r
                                else if (doc.location.href.match('^'+$prefs.get('defurl')+'\\?op=add_bookmark') && $prefs.get('altpost') !== '0' && doc.forms[1]){\r