// API callback
related_results_labels_thumbs({"version":"1.0","encoding":"UTF-8","feed":{"xmlns":"http://www.w3.org/2005/Atom","xmlns$openSearch":"http://a9.com/-/spec/opensearchrss/1.0/","xmlns$blogger":"http://schemas.google.com/blogger/2008","xmlns$georss":"http://www.georss.org/georss","xmlns$gd":"http://schemas.google.com/g/2005","xmlns$thr":"http://purl.org/syndication/thread/1.0","id":{"$t":"tag:blogger.com,1999:blog-3275735"},"updated":{"$t":"2023-07-27T06:18:49.198-05:00"},"category":[{"term":"Windows"},{"term":"webMethods"},{"term":"Website"}],"title":{"type":"text","$t":"VismiT"},"subtitle":{"type":"html","$t":"means Amaze (विस्मित)."},"link":[{"rel":"http://schemas.google.com/g/2005#feed","type":"application/atom+xml","href":"http:\/\/vismit.khapre.org\/feeds\/posts\/default"},{"rel":"self","type":"application/atom+xml","href":"http:\/\/www.blogger.com\/feeds\/3275735\/posts\/default\/-\/Website?alt=json-in-script\u0026max-results=6"},{"rel":"alternate","type":"text/html","href":"http:\/\/vismit.khapre.org\/search\/label\/Website"},{"rel":"hub","href":"http://pubsubhubbub.appspot.com/"}],"author":[{"name":{"$t":"Unknown"},"email":{"$t":"noreply@blogger.com"},"gd$image":{"rel":"http://schemas.google.com/g/2005#thumbnail","width":"16","height":"16","src":"https:\/\/img1.blogblog.com\/img\/b16-rounded.gif"}}],"generator":{"version":"7.00","uri":"http://www.blogger.com","$t":"Blogger"},"openSearch$totalResults":{"$t":"1"},"openSearch$startIndex":{"$t":"1"},"openSearch$itemsPerPage":{"$t":"6"},"entry":[{"id":{"$t":"tag:blogger.com,1999:blog-3275735.post-3306665318350986061"},"published":{"$t":"2007-07-06T23:16:00.000-05:00"},"updated":{"$t":"2007-07-06T23:43:02.777-05:00"},"category":[{"scheme":"http://www.blogger.com/atom/ns#","term":"Website"}],"title":{"type":"text","$t":"Disable drag and Text selection in Firefox"},"content":{"type":"html","$t":"\u003Cp\u003EFirefox is known to support most of the W3C Dom standards and IE is usually to support most non standard or I would say \"IE Standard\". Anyways, I still like IE because my website is viewed by mostly IE users, almost over 85%. \u003C\/p\u003E\n\u003Cp\u003EI had seen some people copying text from website, so I wanted to implement no drag and copy text from my website. Here is what I added to the body tag of each HTML rendered page on my site. (I know there are other ways to copy. :( )\u003C\/p\u003E\n\u003Cblockquote\u003E\n\u003Cp\u003E\u003Cspan style=\"color: rgb(255,0,0)\"\u003Eonmousedown\u003C\/span\u003E\u003Cspan style=\"color: rgb(0,0,255)\"\u003E=\"javascript:clickTrap();\"\u003C\/span\u003E \u003Cspan style=\"color: rgb(255,0,0)\"\u003Eondragstart\u003C\/span\u003E\u003Cspan style=\"color: rgb(0,0,255)\"\u003E=\"return false\"\u003C\/span\u003E \u003Cspan style=\"color: rgb(255,0,0)\"\u003Eondblclick\u003C\/span\u003E\u003Cspan style=\"color: rgb(0,0,255)\"\u003E=\"return false\"\u003C\/span\u003E \u003Cspan style=\"color: rgb(255,0,0)\"\u003Eonselectstart\u003C\/span\u003E\u003Cspan style=\"color: rgb(0,0,255)\"\u003E=\"return false\"\u003C\/span\u003E \u003C\/p\u003E\u003C\/blockquote\u003E\n\u003Cp\u003EThis stopped drag and text selection for every IE visitor on my site. Easy and simple technique allowed me to achieve what I wanted. Still there were about 15% \"Standard Browser\" based non standard users. They could drag and select text from my site. Searching paid off after a long time. Mozilla based browsers need to you to create a javascript event handler routine to stop the drop or use this non-standard, browser specific tags. Here is what I did. You can leave them in your CSS file because IE just ignores them and Firefox will block the drag. \u003C\/p\u003E\n\u003Cblockquote\u003E\u003Cpre class=\"code\"\u003E\u003Cspan style=\"color: rgb(0,0,255)\"\u003E\u0026lt;\u003C\/span\u003E\u003Cspan style=\"color: rgb(128,0,0)\"\u003Estyle\u003C\/span\u003E\u003Cspan style=\"color: rgb(0,0,255)\"\u003E\u0026gt;\n\u003C\/span\u003E    \u003Cspan style=\"color: rgb(128,0,0)\"\u003E.protectedText\u003C\/span\u003E \n    {    \n        \u003Cspan style=\"color: rgb(255,0,0)\"\u003E-moz-user-focus\u003C\/span\u003E: \u003Cspan style=\"color: rgb(0,0,255)\"\u003Eignore\u003C\/span\u003E;    \n        \u003Cspan style=\"color: rgb(255,0,0)\"\u003E-moz-user-input\u003C\/span\u003E: \u003Cspan style=\"color: rgb(0,0,255)\"\u003Edisabled\u003C\/span\u003E;    \n        \u003Cspan style=\"color: rgb(255,0,0)\"\u003E-moz-user-select\u003C\/span\u003E: \u003Cspan style=\"color: rgb(0,0,255)\"\u003Enone\u003C\/span\u003E;\n     }\n\u003Cspan style=\"color: rgb(0,0,255)\"\u003E\u0026lt;\/\u003C\/span\u003E\u003Cspan style=\"color: rgb(128,0,0)\"\u003Estyle\u003C\/span\u003E\u003Cspan style=\"color: rgb(0,0,255)\"\u003E\u0026gt;\n\u0026lt;\u003C\/span\u003E\u003Cspan style=\"color: rgb(128,0,0)\"\u003Einput\u003C\/span\u003E \u003Cspan style=\"color: rgb(255,0,0)\"\u003Eclass\u003C\/span\u003E\u003Cspan style=\"color: rgb(0,0,255)\"\u003E=\"protectedText\"\u003C\/span\u003E \u003Cspan style=\"color: rgb(255,0,0)\"\u003Etype\u003C\/span\u003E\u003Cspan style=\"color: rgb(0,0,255)\"\u003E=\"text\"\u003C\/span\u003E \u003Cspan style=\"color: rgb(255,0,0)\"\u003Evalue\u003C\/span\u003E\u003Cspan style=\"color: rgb(0,0,255)\"\u003E=\"Change this\"\u0026gt;\u003C\/span\u003E \n\u003Cspan style=\"color: rgb(0,0,255)\"\u003E\u0026lt;\u003C\/span\u003E\u003Cspan style=\"color: rgb(128,0,0)\"\u003Espan\u003C\/span\u003E \u003Cspan style=\"color: rgb(255,0,0)\"\u003Eclass\u003C\/span\u003E\u003Cspan style=\"color: rgb(0,0,255)\"\u003E=\"protectedText\"\u0026gt;\u003C\/span\u003Esdaf\u003Cspan style=\"color: rgb(0,0,255)\"\u003E\u0026lt;\/\u003C\/span\u003E\u003Cspan style=\"color: rgb(128,0,0)\"\u003Espan\u003C\/span\u003E\u003Cspan style=\"color: rgb(0,0,255)\"\u003E\u0026gt;\u003C\/span\u003E\u003C\/pre\u003E\u003C\/blockquote\u003E\n\u003Cp\u003EFind other such tags, that mught be useful for you.\u003Cbr\u003E\u003Ca href=\"http:\/\/www.xulplanet.com\/references\/elemref\/ref_StyleProperties.html\"\u003Ehttp:\/\/www.xulplanet.com\/references\/elemref\/ref_StyleProperties.html\u003C\/a\u003E \u003C\/p\u003E\u003Ca href=\"http:\/\/11011.net\/software\/vspaste\"\u003E\u003Ca href=\"http:\/\/11011.net\/software\/vspaste\"\u003E\u003C\/a\u003E"},"link":[{"rel":"replies","type":"application/atom+xml","href":"http:\/\/vismit.khapre.org\/feeds\/3306665318350986061\/comments\/default","title":"Post Comments"},{"rel":"replies","type":"text/html","href":"http:\/\/www.blogger.com\/comment.g?blogID=3275735\u0026postID=3306665318350986061","title":"0 Comments"},{"rel":"edit","type":"application/atom+xml","href":"http:\/\/www.blogger.com\/feeds\/3275735\/posts\/default\/3306665318350986061"},{"rel":"self","type":"application/atom+xml","href":"http:\/\/www.blogger.com\/feeds\/3275735\/posts\/default\/3306665318350986061"},{"rel":"alternate","type":"text/html","href":"http:\/\/vismit.khapre.org\/2007\/07\/disable-drag-and-text-selection-in.aspx","title":"Disable drag and Text selection in Firefox"}],"author":[{"name":{"$t":"Unknown"},"email":{"$t":"noreply@blogger.com"},"gd$image":{"rel":"http://schemas.google.com/g/2005#thumbnail","width":"16","height":"16","src":"https:\/\/img1.blogblog.com\/img\/b16-rounded.gif"}}],"thr$total":{"$t":"0"}}]}});