<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1039500" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1039500</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/bookmark-exit#comment-1223748</link>
    <description> &lt;p&gt;forgot to add, to edit this. Add your site title and site url in place of the following text in the body code.&lt;/p&gt;
&lt;p&gt;YOURWEBSITEURL and YOURWEBSITETITTLE&lt;/p&gt;
&lt;p&gt;I figured you would notice since I put it in like that.&lt;/p&gt;
 </description>
     <pubDate>Sat, 01 Sep 2007 20:24:42 +0000</pubDate>
 <dc:creator>cwboaze</dc:creator>
 <guid isPermaLink="false">comment 1223748 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/bookmark-exit#comment-1223747</link>
    <description> &lt;p&gt;ok, here you go.&lt;/p&gt;
&lt;p&gt;The Javascript code, add this to the page you want to on close warn about bookmarking the site. ok!&lt;/p&gt;
&lt;p&gt;place this code before you body tag, in the header.&lt;/p&gt;
&lt;p&gt;&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;&amp;amp;lt;script type=&amp;quot;text/javascript&amp;quot;&amp;amp;gt;&lt;br /&gt;function bookmarksite(title,url){&lt;br /&gt;if (window.sidebar)&lt;br /&gt;	window.sidebar.addPanel(title, url, &amp;quot;&amp;quot;);&lt;br /&gt;else if(window.opera &amp;amp;&amp;amp; window.print){&lt;br /&gt;	var elem = document.createElement(&amp;#039;a&amp;#039;);&lt;br /&gt;	elem.setAttribute(&amp;#039;href&amp;#039;,url);&lt;br /&gt;	elem.setAttribute(&amp;#039;title&amp;#039;,title);&lt;br /&gt;	elem.setAttribute(&amp;#039;rel&amp;#039;,&amp;#039;sidebar&amp;#039;);&lt;br /&gt;	elem.click();&lt;br /&gt;} &lt;br /&gt;else if(document.all)// ie&lt;br /&gt;	window.external.AddFavorite(url, title);&lt;br /&gt;}&lt;br /&gt;&amp;amp;lt;/script&amp;amp;gt;&lt;/code&gt;&lt;/div&gt;&#039;&lt;/p&gt;
&lt;p&gt;then add this to your body tag:&lt;/p&gt;
&lt;p&gt;&lt;code&gt;onUnload=&amp;quot;javascript:bookmarksite(&amp;#039;YOURWEBSITETITLE&amp;#039;, &amp;#039;YOURWEBSITEURL&amp;#039;)&amp;quot;&lt;/code&gt;&#039;&lt;/p&gt;
&lt;p&gt;so your body tag should look like this;&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&amp;lt;body onUnload=&amp;quot;javascript:bookmarksite(&amp;#039;YOURWEBSITETITLE&amp;#039;, &amp;#039;YOURWEBSITEURL&amp;#039;)&amp;quot;&amp;gt;&lt;/code&gt;&#039;&lt;/p&gt;
 </description>
     <pubDate>Sat, 01 Sep 2007 20:19:31 +0000</pubDate>
 <dc:creator>cwboaze</dc:creator>
 <guid isPermaLink="false">comment 1223747 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/bookmark-exit#comment-1223739</link>
    <description> &lt;blockquote class=&quot;bb-quote-body&quot;&gt;&lt;p&gt;&lt;strong&gt;webwiz;223738 wrote:&lt;/strong&gt; You could do that with a script that runs on window.onunload, assuming the visitor&#039;s browser allows scripts to add bookmarks.&lt;/p&gt;
&lt;p&gt;I don&#039;t have a script handy to do that, though.  &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/sad.png&quot; title=&quot;Sad&quot; alt=&quot;Sad&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;if anyone else can expand i would be grateful&lt;/p&gt;
 </description>
     <pubDate>Sat, 01 Sep 2007 18:11:14 +0000</pubDate>
 <dc:creator>sirtokealot</dc:creator>
 <guid isPermaLink="false">comment 1223739 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/bookmark-exit#comment-1223738</link>
    <description> &lt;p&gt;You could do that with a script that runs on window.onunload, assuming the visitor&#039;s browser allows scripts to add bookmarks.&lt;/p&gt;
&lt;p&gt;I don&#039;t have a script handy to do that, though.  &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/sad.png&quot; title=&quot;Sad&quot; alt=&quot;Sad&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;
 </description>
     <pubDate>Sat, 01 Sep 2007 17:39:35 +0000</pubDate>
 <dc:creator>webwiz</dc:creator>
 <guid isPermaLink="false">comment 1223738 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
