User:AdminAnne/common.js

From wikibase-docker
Jump to navigation Jump to search

Note: After saving, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Go to Menu → Settings (Opera → Preferences on a Mac) and then to Privacy & security → Clear browsing data → Cached images and files.
//var ext_link = "https://eac-cpf.herokuapp.com/eac/"; // Base URL for external service developed during #hackAN2018
//var Qid = $("body").attr("class").split(" ").pop().replace("wb-itempage-", ""); // Get the Q-id for the current page
//$("#p-views>ul").append('<li id="pers-1" class="collapsible"><span><a href="' + ext_link + Qid + '" title="export-ext" target="_blank">Convert to EAC</a></span></li>');


// var ext_link = "http://hackan.adimasc.io/eac/"; // Base URL for external service developed during #hackAN2018
// var Qid = $("body").attr("class").split(" ").pop().replace("wb-itempage-", ""); // Get the Q-id for the current page
// $("#p-views>ul").append('<li id="pers-1" class="collapsible"><span><a href="' + ext_link + Qid + '" title="export-ext" target="_blank">Convert to EAC</a></span></li>');