Update Google Keywords Injector v2.1

Kali ini admin akan membagikan tools Google Keywords Injector versi 2.1 dengan update terbaru. Update kali ini yaitu memperbaiki bug yang sebelumnya admin ketahui dari beberapa pemakai yang mengalami error ketika terlalu banyak melakukan permintaan request keyword. Untuk versi 2.1 kali ini, admin telah merombak rest api sesuai dokumentasi dari situs resmi google. Lihat disini Query Suggestion Service /suggest Protocol.

Update Google Keywords Injector v2.1

Script Update Google Keywords Injector v2.1

document.getElementById("viewport").setAttribute("style","display:none;");var createElDom=document.createElement("div");createElDom.id="maskoding",document.body.append(createElDom);var createElStyle=document.createElement("style");createElStyle.innerHTML="\n#maskoding {\n    text-align: center;\n    padding: 10px 0;\n    z-index: 9999999;\n    position: fixed;\n    width: 100%;\n    height: 100%;\n    background-color: #dbdbe3;\n}\n#inKey {\n    width: 80%;\n    padding-left: 5px;\n    outline: none;\n    font-size: 15px;\n    height: 25px;\n    margin-bottom: 10px;\n}\n#getScrape {\n    cursor: pointer;\n    padding: 5px 20px;\n}\n#inKey {\n    width: 80%;\n    padding-left: 20px;\n    outline: none;\n    font-size: 15px;\n    height: 25px;\n    margin-bottom: 10px;\n    border-radius: 20px;\n}\n#outScrape {\n    margin: 10px 0;\n    width: 80%;\n    max-height: 350px;\n    height: 350px;\n    outline: none;\n    padding: 5px 10px;\n    border-radius: 5px;\n}\n.countInfo {\n    margin-top: 10px;\n}\n.titleSoft {\n    padding: 10px 0;\n    font-size: 25px;\n    font-weight: bold;\n}\n.notifKey {\n    margin-top: 5px;\n}\n.bSetting {\n    text-align: right;\n    width: 80%;\n    margin: auto;\n}\n.cFooter {\n    width: max-content;\n    margin-left: 10%;\n    text-align: left;\n    position: absolute;\n    margin-top: -20px;\n}\n#bCopy, #mSave {\n    cursor: pointer;\n}\n",document.head.append(createElStyle),document.getElementById("maskoding").innerHTML='\n  <div class="titleSoft">Google Keywords Injector V2.1</div>\n  <div>\n    <input id="inKey" placeholder="Masukkan Keyword"/>\n  </div>\n  <div><button id="getScrape">Scrape</button></div>\n  <div class="countInfo">\n    <div>Total Keyword : <span id="countKeyword">-</span></div>\n    <div class="notifKey">Mencari Keyword Turunan : <br/><b><span id="dataKeyword">-</span></b></div>\n  </div>\n  <div>\n    <textarea id="outScrape" readonly></textarea>\n  </div>\n  <div class="bSetting">\n    <button id="mSave">Save</button>\n    <button id="bCopy">Copy</button>\n  </div>\n  <div class="cFooter">Design By <a href="https://www.maskoding.com" target="_blank">maskoding.com</a></div>\n';var dataku=[],numberStart=0,dataIndex=["a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z"];document.getElementById("getScrape").addEventListener("click",function(){var e=encodeURIComponent(document.getElementById("inKey").value);fetch("https://suggestqueries.google.com/complete/search?jsonp=&q="+e+"&client=chrome&_="+makenumber(13)).then(e=>e.json()).then(function(e){for(var n=e[1],t=0;t<n.length;t++){var a=n[t],o=document.createElement("div");o.innerHTML=a,a=o.innerText,dataku.push(a)}dataku=Array.from(new Set(dataku)),document.getElementById("outScrape").value=dataku.join("\n"),document.getElementById("countKeyword").innerText=dataku.length;var d=document.getElementById("outScrape");d.scrollTop=d.scrollHeight,numberStart+=1,runku()})});numberStart=0;function runku(){numberStart<dataku.length?(document.getElementById("dataKeyword").innerHTML=dataku[numberStart],document.getElementById("getScrape").innerHTML="Please Wait...",document.getElementById("getScrape").setAttribute("disabled",!0),fetch("https://suggestqueries.google.com/complete/search?jsonp=&q="+encodeURIComponent(dataku[numberStart])+"&client=chrome&_="+makenumber(13)).then(e=>e.json()).then(function(e){for(var n=e[1],t=0;t<n.length;t++){var a=n[t],o=document.createElement("div");o.innerHTML=a,a=o.innerText,dataku.push(a)}dataku=Array.from(new Set(dataku)),document.getElementById("outScrape").value=dataku.join("\n"),document.getElementById("countKeyword").innerText=dataku.length;var d=document.getElementById("outScrape");d.scrollTop=d.scrollHeight,numberStart+=1,setTimeout(function(){runku()},50)}).catch(e=>{numberStart+=1,setTimeout(function(){runku()},50)})):(numberStart=0,dataku=[],document.getElementById("getScrape").innerHTML="Scrape",document.getElementById("getScrape").removeAttribute("disabled"),alert("Complete.."))}function convertToValidName(e){return e=(e=(e=e.replace(/[`~!@ #$ % ^ & * () _\ - += \[\] {};: '"\\|\/,.<>?\s]/g," ").toLowerCase()).replace(/^\s+|\s+$/gm,"")).replace(/\s+/g,"-")}function makenumber(e){for(var n=["0","1","2","3","4","5","6","7","8","9"],t=e,a=new Array,o=0;o<=t-1;o++)a[o]=n[parseInt(Math.random()*n.length)],a=a;return a.join("")}document.getElementById("bCopy").addEventListener("click",function(){document.getElementById("outScrape").select(),document.execCommand("copy")}),document.getElementById("mSave").addEventListener("click",function(){var e=document.getElementById("inKey").value;e=convertToValidName(e);var n=document.getElementById("outScrape").value,t=new Blob([n],{type:"text/plain"}),a=document.createElement("a");a.download=e+".txt",a.href=window.URL.createObjectURL(t),a.target="_blank",a.style.display="none",document.getElementById("maskoding").appendChild(a),a.click(),document.getElementById("maskoding").removeChild(a)});

Untuk panduan pemakaiannya hampir sama dengan versi sebelumnya. Silahkan baca Google Keywords Injector v.2.