Post Reply 
Page contents to <title> tag
Oct. 29, 2010, 06:06 AM (This post was last modified: Oct. 29, 2010 06:08 AM by sh8an.)
Post: #7
RE: Page contents to <title> tag
yay! Smile!
Code:
\1<b>\2</b>\3\r\n
<script language="javascript">\r\n
    pxDt = document.title;\r\n
    re = /Meaningless stuff/g;\r\n
    document.title = pxDt.replace(re, "") + '\2';\r\n
</script>\r\n
saw similar code in proxjs-full.js before but didn't get how to use it in my case. Smile! thanks a lot for the hints.
Add Thank You Quote this message in a reply
Post Reply 


Messages In This Thread
Page contents to <title> tag - sh8an - Oct. 28, 2010, 03:34 PM
RE: Page contents to <title> tag - ProxRocks - Oct. 28, 2010, 03:56 PM
RE: Page contents to <title> tag - sh8an - Oct. 28, 2010, 04:47 PM
RE: Page contents to <title> tag - ProxRocks - Oct. 28, 2010, 07:35 PM
RE: Page contents to <title> tag - JJoe - Oct. 29, 2010, 01:21 AM
RE: Page contents to <title> tag - Graycode - Oct. 29, 2010, 04:17 AM
RE: Page contents to <title> tag - sh8an - Oct. 29, 2010 06:06 AM
RE: Page contents to <title> tag - sbk - Oct. 30, 2010, 01:40 PM

Forum Jump: