User:AzaToth/addee.js

/* add ee */ addOnloadHook(function { if (document.URL.search("=") == -1 && !document.getElementById("ca-viewsource") && document.URL.search("/Special:") == -1) { //viewing a page that isn't protected or special    addTab("javascript:location = document.URL + '?action=edit&externaledit=true';", "ee", "ca-exted", "external editor", "");  }  else if (document.title.indexOf("Editing ") == 0) { //this line from techniques subpage of WP:US    addTab("javascript:location = document.URL + '&externaledit=true';", "ee", "ca-exted", "external editor", "");  } } );