老女上司產生器是我去年再看羞昂的書「宅女日記」時,一時有感而發的點子,經過一些修改,再重新推出,且正名為「輸入文字強迫替換器」
以較為符合其功能為名。
This embed is designed for someone who want to change the comment's words,for example you can type '123' in below textbox,itwould be the '456' and put 'abc' would be 'dabce'.
輸入123會換成456,輸入abc會變成fabce,將下面code碼貼入Blog內
<script src="http://www.google.com/jsapi?key=ABQIAAAA1XbMiDxx_BTCY2_FkPh06RRaGTYH6UMl8mADNa0YKuWNNa8VNxQEerTAUcfkyrr6OwBovxn7TDAH5Q"></script> <script>google.load("jquery", "1");var repJson=[{'ori':'123','rep':'456','prefixes':'','suffixes':''},{'ori':'abc','rep':'abc','prefixes':'d','suffixes':'e'}];//依照規則可以新增新的替換文字 follow the rule ,you can add new words function OnLoad(){$.getScript('http://wolkejqueryplugin.appspot.com/jqWL/WL_autoUpdateWord.js',function(){ $('#content').WL_autoUpdateWords(repJson);//#content請依照自已的id囉! #content by your needed })} google.setOnLoadCallback(OnLoad);</script>
Blogspot的留言模式用的是iframe所以我沒法將功能用於此blogspot的昌言板,但其他的blog平台,應該是沒啥問題。
Blogspot use 'iframe' to be the comment,so can't change the value,but in the other blog service should be OK.
沒有留言:
張貼留言