I made bookmarklet make link under certain URL .

<a href="javascript:var%20d=document.location.href,p=0;g='http://feed.linksynergy.com/createcustomlink.shtml?token=5cd2928d4e578907e8ca714cdbbed9774cd9863cf049722cb72b6ac977af052d&mid=25 63&murl='+d;a=function(){if(!window.open(g,'LinkGenerator','toolbar=no,status=no,resizable=yes,width =400,height=340,scrollbars=yes')){l.href=g;}};if(/Firefox/.test(navigator.userAgent))setTimeout(a,0);else{a()};void(0);">test</a>

It can get code under http://www.nissen.co.jp/.

For example http://www.nissen.co.jp/cate006/

if click this bookmarklet open new window and show below URL.

http://click.linksynergy.com/fs-bin/...2Fcate006%252F


I want replace id number (now x8yjnrgvgrU) after open the new window and want to add some text inside new window.

How can I do it?