Posts

JS Source Code of the MAC-Addesss Notation Changer

function fnClipboard(macAdrCpy) {     document.getElementById('macinput').value = macAdrCpy;     var copyText = document.getElementById('macinput');     copyText.select();     document.execCommand('copy'); }; function pasteFromClipboard() {     document.getElementById('macinput').value = '';     var pasteText = document.getElementById('macinput');     pasteText.focus();     document.execCommand('paste');   }; function macConvert(macNotationType) {     var lmtr = ['x', '-', ':', '.', '-'];     var block = [12, 2, 2, 4, 6];     var macAdrAll = [];     var len = lmtr.length;     var i;     var cntr;     var macAdrOut = '';     var macAdr = document.getElementById('macinput').value;     var macAdrStrp = macAdr.toLowerCase();     macAdrStrp = macAdrStrp.replace(/[^A-Fa-f0-9]/g, '');     if (macAdrStrp.length !== 12) {         document.getElementById("macinput").s

MAC-Addesss Notation Changer as a Chrome extension

This little Chrome extension makes your work life a bit easier. Tought about doing this as a standalone app, but since most of the tools i use are web based it's handy to have it in the browser bar. Enjoy.