Posts

Showing posts from August, 2020

Support for the "MAC-Addesss Notation Changer" extension

Usage is described in the upper part of the extensions pop-up window. Please ask your questions in the Chrome Web Store, so all can see. Find the Java Script code here: https://markstools.blogspot.com/2020/08/js-source-code-of-mac-addesss-notation.html No data will be collected or sent. No Google analytics ID, no user statistics.

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 (macAdrStr...

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.