Index: /applications/editors/josm/plugins/tag2link/resources/tag2link_sources.xml
===================================================================
--- /applications/editors/josm/plugins/tag2link/resources/tag2link_sources.xml	(revision 28545)
+++ /applications/editors/josm/plugins/tag2link/resources/tag2link_sources.xml	(revision 28546)
@@ -64,4 +64,5 @@
             <condition k="ref:(FR:)?INSEE" v="(\p{Digit}{2})(\p{Digit}{3})" id="ref"/>
             <link name="View %name% municipality sheet" href="http://www.insee.fr/fr/methodes/nomenclatures/cog/fichecommunale.asp?codedep=%ref.v.1%&amp;codecom=%ref.v.2%" />
+            <link name="View %name% sheet on osm.fr" href="http://openstreetmap.fr/outils/etat-commune?insee=%ref.v%" />
         </rule>
         <rule>
@@ -144,4 +145,12 @@
         </rule>
     </source>
+
+    <!-- social facility --> 
+    <source name="FINESS" country-code="FR">
+        <rule>
+            <condition k="ref:(FR:)?FINESS" v="[A-Z0-9-]{9}" />
+            <link name="View %name% sheet of hospital/home" href="http://finess.sante.gouv.fr/finess/jsp/actionDetailEtablissement.do?noFiness=%v%" />
+        </rule>
+    </source>
     
 </tag2link>
Index: /applications/editors/josm/plugins/tag2link/src/org/openstreetmap/josm/plugins/tag2link/action/OpenLinkAction.java
===================================================================
--- /applications/editors/josm/plugins/tag2link/src/org/openstreetmap/josm/plugins/tag2link/action/OpenLinkAction.java	(revision 28545)
+++ /applications/editors/josm/plugins/tag2link/src/org/openstreetmap/josm/plugins/tag2link/action/OpenLinkAction.java	(revision 28546)
@@ -79,6 +79,9 @@
 				
 		    	System.out.println("Opening "+filename);
-		        OpenBrowser.displayUrl("file://"+filename);
-				
+		    	String result = OpenBrowser.displayUrl("file://"+filename);
+		        if (result != null) {
+		        	System.err.println(result);
+		        }
+		        
 			} catch (MalformedURLException ex) {
 				ex.printStackTrace();
@@ -88,5 +91,8 @@
     	} else {
 	    	System.out.println("Opening "+link.url);
-	        OpenBrowser.displayUrl(link.url);
+	        String result = OpenBrowser.displayUrl(link.url);
+	        if (result != null) {
+	        	System.err.println(result);
+	        }
     	}
     }
