{"id":221,"date":"2006-07-14T20:28:39","date_gmt":"2006-07-14T20:28:39","guid":{"rendered":"http:\/\/neosmart.net\/blog\/archives\/221"},"modified":"2023-01-28T15:53:20","modified_gmt":"2023-01-28T21:53:20","slug":"opera-patch-for-bad-behavior","status":"publish","type":"post","link":"https:\/\/neosmart.net\/blog\/opera-patch-for-bad-behavior\/","title":{"rendered":"Bad Behavior Patch for Opera Users"},"content":{"rendered":"<p><a href=\"http:\/\/www.homelandstupidity.us\/software\/bad-behavior\/\" rel=\"follow\">Bad Behavior<\/a> is an excellent &#8216;profiling&#8217; plug-in that deters most spam bots and attacks on web-based scripts, especially blogs, wikis, and forums. It uses a very detailed and sophisticated combination of checks and algorithms to create a &#8216;spammer&#8217;s profile&#8217; and if a visitor to your site fits it, it&#8217;ll block them.\n<\/p>\n<p>The algorithm is so good that there are almost no false positives, and together with a decent spam plug-in like Akismet or Spam Karma 2, you&#8217;re blog will be forever clean. But it has a problem with Opera. Most builds of Opera trigger a false alarm, leaving your blog reader-less, especially with the release of Opera 9, an excellent browser in all rights, but there is a solution. <!--more-->\n<\/p>\n<ol>\n<li>Download and extract <a href=\"http:\/\/www.homelandstupidity.us\/software\/bad-behavior\/bad-behavior-download\/\" rel=\"follow\">Bad Behavior<\/a> <\/li>\n<li>Open .\/bad-behavior\/common_tests.inc.php <\/li>\n<li>Comment out the code beginning from line 57 to line 60 (inclusive). It should look like this when you&#8217;re done:<br \/>\n<pre lang='c'>\/*&lt;br \/&gt;\nif (array_key_exists(&amp;#8216;Te&amp;#8217;, $package[&amp;#8216;headers_mixed&amp;#8217;])) {&lt;br \/&gt;\n if (!preg_match(&amp;#8216;\/\\bTE\\b\/&amp;#8217;, $package[&amp;#8216;headers_mixed&amp;#8217;][&amp;#8216;Connection&amp;#8217;])) {&lt;br \/&gt;\nreturn &amp;#8220;582ec5e4&amp;#8221;;&lt;br \/&gt;\n}&lt;br \/&gt;\n}&lt;br \/&gt;\n*\/<\/pre> <\/li>\n<li>Save the file, upload the directory to your wp-content\/plugins folder, activate, and enjoy! <\/li>\n<\/ol>\n<p><strong>The Technical Stuff<\/strong>\n<\/p>\n<p>What we just did is disable &#8220;TE Request-Header&#8221; checks. TE request-headers are from RFC2616, section 14.39; and although we have no doubt that the authors of this wonderful algorithm had their reasons for including TE request-header checks, and that certain spam bots do indeed employ this particular header-request for TE, as far as we can tell the benefits gained by using such a check are minor.\n<\/p>\n<p>You can view the entire RFC <a href=\"http:\/\/256.com\/gray\/docs\/rfc2616\/14-2.html\" rel=\"follow\">here<\/a>. At any rate, it doesn&#8217;t matter. Bad Behavior is famous for its excellence and cross compatibility, and lack of false positives, so we feel it should stay that way &#8211; without the TE request-header checks. An ideal solution would be to implement this function as a subset of &#8216;Strict Mode&#8217; which is specially designed to block more illicit traffic, but with the knowledge that it may block some legitimate users.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Bad Behavior is an excellent &#8216;profiling&#8217; plug-in that deters most spam bots and attacks on web-based scripts, especially blogs, wikis, and forums. It uses a very detailed and sophisticated combination of checks and algorithms to create a &#8216;spammer&#8217;s profile&#8217; and &hellip; <a href=\"https:\/\/neosmart.net\/blog\/opera-patch-for-bad-behavior\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_post_was_ever_published":false},"categories":[1],"tags":[56,59,54],"class_list":["post-221","post","type-post","status-publish","format-standard","hentry","category-software","tag-bugs","tag-opera","tag-wordpress"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.4 - aioseo.com -->\n\t<meta name=\"description\" content=\"Bad Behavior is an excellent &#039;profiling&#039; plug-in that deters most spam bots and attacks on web-based scripts, especially blogs, wikis, and forums. It uses a very detailed and sophisticated combination of checks and algorithms to create a &#039;spammer&#039;s profile&#039; and if a visitor to your site fits it, it&#039;ll block them. The algorithm is so\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"NeoSmart Technologies\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/neosmart.net\/blog\/opera-patch-for-bad-behavior\/\" \/>\n\t\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.4\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/neosmart.net\\\/blog\\\/opera-patch-for-bad-behavior\\\/#article\",\"name\":\"Bad Behavior Patch for Opera Users | The NeoSmart Files\",\"headline\":\"Bad Behavior Patch for Opera Users\",\"author\":{\"@id\":\"https:\\\/\\\/neosmart.net\\\/blog\\\/author\\\/neosmart\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/neosmart.net\\\/blog\\\/#organization\"},\"datePublished\":\"2006-07-14T20:28:39-05:00\",\"dateModified\":\"2023-01-28T15:53:20-06:00\",\"inLanguage\":\"en-US\",\"commentCount\":7,\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/neosmart.net\\\/blog\\\/opera-patch-for-bad-behavior\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/neosmart.net\\\/blog\\\/opera-patch-for-bad-behavior\\\/#webpage\"},\"articleSection\":\"Software, bugs, opera, wordpress\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/neosmart.net\\\/blog\\\/opera-patch-for-bad-behavior\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/neosmart.net\\\/blog\\\/#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/neosmart.net\\\/blog\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/neosmart.net\\\/blog\\\/category\\\/software\\\/#listItem\",\"name\":\"Software\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/neosmart.net\\\/blog\\\/category\\\/software\\\/#listItem\",\"position\":2,\"name\":\"Software\",\"item\":\"https:\\\/\\\/neosmart.net\\\/blog\\\/category\\\/software\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/neosmart.net\\\/blog\\\/opera-patch-for-bad-behavior\\\/#listItem\",\"name\":\"Bad Behavior Patch for Opera Users\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/neosmart.net\\\/blog\\\/#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/neosmart.net\\\/blog\\\/opera-patch-for-bad-behavior\\\/#listItem\",\"position\":3,\"name\":\"Bad Behavior Patch for Opera Users\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/neosmart.net\\\/blog\\\/category\\\/software\\\/#listItem\",\"name\":\"Software\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/neosmart.net\\\/blog\\\/#organization\",\"name\":\"The NeoSmart Files\",\"description\":\"Recovery software and more\",\"url\":\"https:\\\/\\\/neosmart.net\\\/blog\\\/\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/neosmart.net\\\/blog\\\/author\\\/neosmart\\\/#author\",\"url\":\"https:\\\/\\\/neosmart.net\\\/blog\\\/author\\\/neosmart\\\/\",\"name\":\"NeoSmart Technologies\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/neosmart.net\\\/blog\\\/opera-patch-for-bad-behavior\\\/#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/f542321efe8fccee6fb0b3322c2f647e2ab44a861d6b18ff16a79d032f8574cd?s=96&d=mm&r=pg\",\"width\":96,\"height\":96,\"caption\":\"NeoSmart Technologies\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/neosmart.net\\\/blog\\\/opera-patch-for-bad-behavior\\\/#webpage\",\"url\":\"https:\\\/\\\/neosmart.net\\\/blog\\\/opera-patch-for-bad-behavior\\\/\",\"name\":\"Bad Behavior Patch for Opera Users | The NeoSmart Files\",\"description\":\"Bad Behavior is an excellent 'profiling' plug-in that deters most spam bots and attacks on web-based scripts, especially blogs, wikis, and forums. It uses a very detailed and sophisticated combination of checks and algorithms to create a 'spammer's profile' and if a visitor to your site fits it, it'll block them. The algorithm is so\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/neosmart.net\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/neosmart.net\\\/blog\\\/opera-patch-for-bad-behavior\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/neosmart.net\\\/blog\\\/author\\\/neosmart\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/neosmart.net\\\/blog\\\/author\\\/neosmart\\\/#author\"},\"datePublished\":\"2006-07-14T20:28:39-05:00\",\"dateModified\":\"2023-01-28T15:53:20-06:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/neosmart.net\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/neosmart.net\\\/blog\\\/\",\"name\":\"The NeoSmart Files\",\"description\":\"Recovery software and more\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/neosmart.net\\\/blog\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Bad Behavior Patch for Opera Users | The NeoSmart Files","description":"Bad Behavior is an excellent 'profiling' plug-in that deters most spam bots and attacks on web-based scripts, especially blogs, wikis, and forums. It uses a very detailed and sophisticated combination of checks and algorithms to create a 'spammer's profile' and if a visitor to your site fits it, it'll block them. The algorithm is so","canonical_url":"https:\/\/neosmart.net\/blog\/opera-patch-for-bad-behavior\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/neosmart.net\/blog\/opera-patch-for-bad-behavior\/#article","name":"Bad Behavior Patch for Opera Users | The NeoSmart Files","headline":"Bad Behavior Patch for Opera Users","author":{"@id":"https:\/\/neosmart.net\/blog\/author\/neosmart\/#author"},"publisher":{"@id":"https:\/\/neosmart.net\/blog\/#organization"},"datePublished":"2006-07-14T20:28:39-05:00","dateModified":"2023-01-28T15:53:20-06:00","inLanguage":"en-US","commentCount":7,"mainEntityOfPage":{"@id":"https:\/\/neosmart.net\/blog\/opera-patch-for-bad-behavior\/#webpage"},"isPartOf":{"@id":"https:\/\/neosmart.net\/blog\/opera-patch-for-bad-behavior\/#webpage"},"articleSection":"Software, bugs, opera, wordpress"},{"@type":"BreadcrumbList","@id":"https:\/\/neosmart.net\/blog\/opera-patch-for-bad-behavior\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/neosmart.net\/blog\/#listItem","position":1,"name":"Home","item":"https:\/\/neosmart.net\/blog\/","nextItem":{"@type":"ListItem","@id":"https:\/\/neosmart.net\/blog\/category\/software\/#listItem","name":"Software"}},{"@type":"ListItem","@id":"https:\/\/neosmart.net\/blog\/category\/software\/#listItem","position":2,"name":"Software","item":"https:\/\/neosmart.net\/blog\/category\/software\/","nextItem":{"@type":"ListItem","@id":"https:\/\/neosmart.net\/blog\/opera-patch-for-bad-behavior\/#listItem","name":"Bad Behavior Patch for Opera Users"},"previousItem":{"@type":"ListItem","@id":"https:\/\/neosmart.net\/blog\/#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/neosmart.net\/blog\/opera-patch-for-bad-behavior\/#listItem","position":3,"name":"Bad Behavior Patch for Opera Users","previousItem":{"@type":"ListItem","@id":"https:\/\/neosmart.net\/blog\/category\/software\/#listItem","name":"Software"}}]},{"@type":"Organization","@id":"https:\/\/neosmart.net\/blog\/#organization","name":"The NeoSmart Files","description":"Recovery software and more","url":"https:\/\/neosmart.net\/blog\/"},{"@type":"Person","@id":"https:\/\/neosmart.net\/blog\/author\/neosmart\/#author","url":"https:\/\/neosmart.net\/blog\/author\/neosmart\/","name":"NeoSmart Technologies","image":{"@type":"ImageObject","@id":"https:\/\/neosmart.net\/blog\/opera-patch-for-bad-behavior\/#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/f542321efe8fccee6fb0b3322c2f647e2ab44a861d6b18ff16a79d032f8574cd?s=96&d=mm&r=pg","width":96,"height":96,"caption":"NeoSmart Technologies"}},{"@type":"WebPage","@id":"https:\/\/neosmart.net\/blog\/opera-patch-for-bad-behavior\/#webpage","url":"https:\/\/neosmart.net\/blog\/opera-patch-for-bad-behavior\/","name":"Bad Behavior Patch for Opera Users | The NeoSmart Files","description":"Bad Behavior is an excellent 'profiling' plug-in that deters most spam bots and attacks on web-based scripts, especially blogs, wikis, and forums. It uses a very detailed and sophisticated combination of checks and algorithms to create a 'spammer's profile' and if a visitor to your site fits it, it'll block them. The algorithm is so","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/neosmart.net\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/neosmart.net\/blog\/opera-patch-for-bad-behavior\/#breadcrumblist"},"author":{"@id":"https:\/\/neosmart.net\/blog\/author\/neosmart\/#author"},"creator":{"@id":"https:\/\/neosmart.net\/blog\/author\/neosmart\/#author"},"datePublished":"2006-07-14T20:28:39-05:00","dateModified":"2023-01-28T15:53:20-06:00"},{"@type":"WebSite","@id":"https:\/\/neosmart.net\/blog\/#website","url":"https:\/\/neosmart.net\/blog\/","name":"The NeoSmart Files","description":"Recovery software and more","inLanguage":"en-US","publisher":{"@id":"https:\/\/neosmart.net\/blog\/#organization"}}]}},"aioseo_meta_data":{"post_id":"221","title":null,"description":null,"keywords":[],"keyphrases":{"focus":{"keyphrase":"","score":0,"analysis":{"keyphraseInTitle":{"score":0,"maxScore":9,"error":1}}},"additional":[]},"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":"","og_custom_url":null,"og_article_section":null,"og_article_tags":[],"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"Article","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":"-1","robots_max_videopreview":"-1","robots_max_imagepreview":"large","priority":null,"frequency":"default","location":null,"local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":null,"created":"2020-12-23 20:02:57","updated":"2026-01-10 21:29:10","focus_keyword":null,"additional_keywords":null,"truseo_locale":null,"seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/neosmart.net\/blog\/\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">\u00bb<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/neosmart.net\/blog\/category\/software\/\" title=\"Software\">Software<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">\u00bb<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tBad Behavior Patch for Opera Users\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/neosmart.net\/blog\/"},{"label":"Software","link":"https:\/\/neosmart.net\/blog\/category\/software\/"},{"label":"Bad Behavior Patch for Opera Users","link":"https:\/\/neosmart.net\/blog\/opera-patch-for-bad-behavior\/"}],"jetpack_shortlink":"https:\/\/wp.me\/p4xDa-3z","jetpack_sharing_enabled":true,"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/neosmart.net\/blog\/wp-json\/wp\/v2\/posts\/221","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/neosmart.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/neosmart.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/neosmart.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/neosmart.net\/blog\/wp-json\/wp\/v2\/comments?post=221"}],"version-history":[{"count":1,"href":"https:\/\/neosmart.net\/blog\/wp-json\/wp\/v2\/posts\/221\/revisions"}],"predecessor-version":[{"id":5015,"href":"https:\/\/neosmart.net\/blog\/wp-json\/wp\/v2\/posts\/221\/revisions\/5015"}],"wp:attachment":[{"href":"https:\/\/neosmart.net\/blog\/wp-json\/wp\/v2\/media?parent=221"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/neosmart.net\/blog\/wp-json\/wp\/v2\/categories?post=221"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/neosmart.net\/blog\/wp-json\/wp\/v2\/tags?post=221"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}