谷歌搜索留痕组合工具,批量生成
生活随笔
收集整理的這篇文章主要介紹了
谷歌搜索留痕组合工具,批量生成
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
自己寫的谷歌搜索留痕組合工具。
主要有兩個功能:
方便留痕內容修改,搜索留痕鏈接和留痕地址可以批量輸入,關鍵詞修改以后,點擊生成。可以得到新的生成結果
2、谷歌搜索留痕一次大概要生成幾千甚至上萬條鏈接,而效果好的留痕網站就那么幾個。避免不了要重復提交。所以在結尾添加了隨機字符。生成結果每一條內容都是唯一的。避免重復
源代碼
<script>//生成從minNum到maxNum的隨機數function randomNum(minNum,maxNum){ switch(arguments.length){ case 1: return parseInt(Math.random()*minNum+1,10); break; case 2: return parseInt(Math.random()*(maxNum-minNum+1)+minNum,10); break; default: return 0; break; } } //隨機字母function randLetter(tim) {var arr="abcdefjhijklmnopqrstuvwxyz"var char=""for(var i=0;i<tim;i++){var num=parseInt(Math.random()*26);char=char+arr[num]}return char;}var productName = document.getElementsByName('product_name')[0];var productAttribute = document.getElementsByName('product_attribute')[0];var productCombinationSelect = document.getElementsByName('product_combination_select')[0];var productCombination = document.getElementsByName('product_combination')[0];var button_submit2 = document.getElementsByName('button_submit')[0];var button_clear2 = document.getElementsByName('button_clear')[0];function ProductCombinationText(){ var productCombinationSelectValue = productCombinationSelect.value; var strName = productName.value.split(/\n+/); var strAttribute = productAttribute.value.split(/\n+/); productCombination.value = ''; for(var i=0,len=strName.length; i<len; i++){ var str = strName[i].replace(/(^\s*)|(\s*$)|(\r*$)/g, ""); if(str){ for(var j=0,jlen=strAttribute.length; j<jlen; j++){ var jstr = strAttribute[j].replace(/(^\s*)|(\s*$)|(\r*$)/g, ""); if(jstr){ jstr+= 'dy={'+randLetter(4)+'}'+randomNum(1000,9999); switch(productCombinationSelectValue){ case 'name+ +attribute': productCombination.value += str +' '+ jstr +'\n'; break; case 'attribute+ +name': productCombination.value += jstr +' '+ str +'\n'; break; case 'name+attribute': productCombination.value += str + jstr +'\n'; break; case 'attribute+name': productCombination.value += jstr + str +'\n'; break; default: productCombination.value += str +' '+ jstr +'\n'; break; } } } } }}function ProductCombinationReset(){ productName.value = ''; productAttribute.value = ''; productCombination.value = '';} </script>原文地址:http://rbd.lianqin.cc/liuhen/16.html
谷歌搜索留痕組合工具:http://rbd.lianqin.cc/liuhen.php
總結
以上是生活随笔為你收集整理的谷歌搜索留痕组合工具,批量生成的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: springboot+Thymeleaf
- 下一篇: Java学习系列之抽象类和接口的区别和联