User:Hippietrail/monobook.js

Hello, you have come here looking for the meaning of the word User:Hippietrail/monobook.js. In DICTIOUS you will not only get to know all the dictionary meanings for the word User:Hippietrail/monobook.js, but we will also tell you about its etymology, its characteristics and you will know how to say User:Hippietrail/monobook.js in singular and plural. Everything you need to know about the word User:Hippietrail/monobook.js you have here. The definition of the word User:Hippietrail/monobook.js will help you to be more precise and correct when speaking or writing your texts. Knowing the definition ofUser:Hippietrail/monobook.js, as well as those of other words, enriches your vocabulary and provides you with more and better linguistic resources.
// See also ], ]

// add css and javascript links to personal toolbar
function addTools() {
  var myprefs = document.getElementById('pt-preferences');
  var newpt;
  var newa;

  newpt = document.createElement('li');
  newa = document.createElement('a');
  newa.href='https://en.wiktionary.org/w/index.php?title=User:' + wgUserName + '/monobook.css&action=edit';
  newa.appendChild(document.createTextNode('css'));
  newpt.appendChild(newa);
  myprefs.parentNode.insertBefore(newpt, myprefs);

  newpt = document.createElement('li');
  newa = document.createElement('a');
  newa.href='https://en.wiktionary.org/w/index.php?title=User:' + wgUserName + '/monobook.js&action=edit';
  newa.appendChild(document.createTextNode('js'));
  newpt.appendChild(newa);
  myprefs.parentNode.insertBefore(newpt, myprefs);

  newpt = document.createElement('li');
  newa = document.createElement('a');
  newa.href='https://dictious.com/en/User:Connel MacKenzie/Preferences';
  newa.appendChild(document.createTextNode('more preferences'));
  newpt.appendChild(newa);
  myprefs.parentNode.insertBefore(newpt, myprefs.nextSibling);
}

importScript('User:Hippietrail/citetab.js');
// Dunno why but Google Chrome doesn't always like personalsidebar.js
if (navigator.userAgent.toLowerCase().indexOf('chrome') == -1)
  importScript('User:Hippietrail/personalsidebar.js');
//importScript('JSLib:personalsidebar.js');
//importScript('User:Hippietrail/wiktionaryprefs.js');
if (navigator.userAgent.toLowerCase().indexOf('chrome') == -1)
  importScript('User:Hippietrail/ajaxtranslinks.js');
//importScript('User:Hippietrail/addstructure.js');
importScript('User:Hippietrail/localisenavbars.js');
importScript('User:Hippietrail/filtercontribs.js');

//importScript('User:Hippietrail/nearbypages-alpha.js');

//document.write('<script type="text/javascript" src="https://en.wiktionary.org/w/index.php?title=User:Hippietrail/personalsidebar.js&action=raw&ctype=text/javascript"><\/script>');

//document.write('<script type="text/javascript" src="https://en.wiktionary.org/w/index.php?title=User:Hippietrail/localisenavbars.js&action=raw&ctype=text/javascript"><\/script>');

function customiseMyPage() {
  var ua = navigator.userAgent.toLowerCase();
  // Dunno why but Google Chrome doesn't always like personalsidebar.js
  if (!/(chrome|msie)/.test(ua))
    personalizeSidebar();
  addTools();
//  wiktionaryPrefs();
  if (!/(chrome|msie)/.test(ua))
    ajaxtranslinks();
//  addstructure();
  if (!/(msie)/.test(ua))
    localisenavbars();
}

$(customiseMyPage);