Extention Tag
var json;
function getIndex(value, arr, prop) {
    for(var i = 0; i < arr.length; i++) {
        if(arr[i][prop] === value) {
            return i;
        }
    }
    return -1; //値が存在しなかったとき
}
function a(){
  fetch(DATA_URL).then(function(response) {
      return response.json();
  }).then(function(jsonData) {
    json = jsonData;
  });
}
window.onmousemove = function(){
    var ele = document.querySelector("div.page-tags > span > a:hover");
    if (ele){
    document.getElementById("result").innerHTML = ele.textContent;
    var index = getIndex(ele.textContent,json, "tag");
    console.log(index);
    if(index!=="-1"){
    console.log(json[index].discription);
    }else{}
    }else{}
}
特に明記しない限り、このページのコンテンツは次のライセンスの下にあります: Creative Commons Attribution-ShareAlike 3.0 License