Σημείωση: μετά την δημοσίευση, ίσως χρειαστεί να παρακάμψετε την προσωρινή μνήμη του προγράμματος περιήγησής σας για να δείτε τις αλλαγές.

  • Firefox / Safari: Κρατήστε πατημένο το Shift κάνοντας ταυτόχρονα κλικ στο κουμπί Ανανέωση ή πιέστε Ctrl-F5 ή Ctrl-R (⌘-R σε Mac)
  • Google Chrome: Πιέστε Ctrl-Shift-R (⌘-Shift-R σε Mac)
  • Internet Explorer / Edge: Κρατήστε πατημένο το Ctrl κάνοντας ταυτόχρονα κλικ στο κουμπί Ανανέωση, ή πιέστε Ctrl-F5
  • Opera: Πιέστε Ctrl-F5.
// soufromeno apo ton User:ArielGlenn/sidebar.js

function shortcutsInit () {

  shortcutsStartSection ('εργαλεία μου');

  // κλεμμένο από το User:Connel MacKenzei/sidebar.js στο enwikt

  // get page title
  // var pagetitle = document.getElementById('content').getElementsByTagName('h1').item(0).firstChild.nodeValue;
  // if (!pagetitle) pagetitle = wgPageName;
  var pagetitle = wgTitle;
  if (pagetitle.search(/Αναζήτηση/) != -1) {
    pagetitle = document.getElementById('searchText').value;
  }
  pagetitle = pagetitle.replace(/^Επεξεργασία:\ /g, "");
  pagetitle = pagetitle.replace(/^Επεξεργασία /g,"");
  pagetitle = pagetitle.replace(/\ \(τμήμα\)$/g,"");
  pagetitle = pagetitle.replace(/^\ /g, "");
  var pageexternal = pagetitle.replace(/\ /g, "_");
  var pageext =      pagetitle.replace(/\ /g, "+");

  // end stolen bit

  if ( pagetitle.search(/:/) != -1 )  {
    shortcutsAddLink ('etym dict','http://www.etymonline.com/index.php');
    shortcutsAddLink ('in.gr','http://dictionary.in.gr/');
    shortcutsAddLink ('in.gr-2','http://lexicon.pathfinder.gr/index.php?lookup='+pageext);
    shortcutsAddLink ('ΛΚΝ','http://www.greek-language.gr/greekLang/modern_greek/tools/lexica/triantafyllides/search.html?lq='+pageext+'&dq=');
  }
  else {
    shortcutsAddLink ('etym dict','http://www.etymonline.com/index.php?search='+pageext+'&searchmode=none');
    shortcutsAddLink ('in.gr','http://dictionary.in.gr/?searchText='+pageext);
    shortcutsAddLink ('ΛΚΝ','http://www.greek-language.gr/greekLang/modern_greek/tools/lexica/triantafyllides/search.html?lq='+pageext);
    shortcutsAddLink ('ΒΠ','http://el.wikipedia.org/wiki/'+pageexternal);
    shortcutsAddLink ('dewikt','http://de.wiktionary.org/wiki/'+pageexternal);
    shortcutsAddLink ('enwikt','http://en.wiktionary.org/wiki/'+pageexternal);
    shortcutsAddLink ('frwikt','http://fr.wiktionary.org/wiki/'+pageexternal);
    shortcutsAddLink ('nlwikt','http://nl.wiktionary.org/wiki/'+pageexternal);
    shortcutsAddLink ('fiwikt','http://fi.wiktionary.org/wiki/'+pageexternal);
  }
  shortcutsAddLink ('αργκό','http://www.slang.gr/');
  shortcutsAddLink ('οδηγός IPA','http://el.wiktionary.org/wiki/Βικιλεξικό:Οδηγός προφοράς');
  shortcutsAddLink ('agent fr>el', 'http://traduction.sensagent.com/'+pageext+'/fr-el/');
  shortcutsAddLink ('agent el>fr', 'http://traduction.sensagent.com/'+pageext+'/el-fr/');
  shortcutsAddLink ('agent en>el', 'http://traduction.sensagent.com/'+pageext+'/en-el/');
  shortcutsAddLink ('agent el>en', 'http://traduction.sensagent.com/'+pageext+'/el-en/'); 
  shortcutsAddLink ('agent el>de', 'http://traduction.sensagent.com/'+pageext+'/el-de/'); 
  shortcutsAddLink ('agent de>el', 'http://traduction.sensagent.com/'+pageext+'/de-el/'); 
  shortcutsAddLink ('agent el>nl', 'http://traduction.sensagent.com/'+pageext+'/el-nl/'); 
  shortcutsAddLink ('agent nl>el', 'http://traduction.sensagent.com/'+pageext+'/nl-el/'); 
}