var xxx = window.location.href;
  console.info("%c" + xxx,"background-color:#fbc97f");
  //get page url

var xxx = window.location.href;
  console.info("%c" + xxx,"background-color:#fbc97f");
var yyy = window.location;
  console.info("%c" + yyy,"background-color:#fbc97f");
  //get page url

remove the href link