{"id":794,"date":"2014-08-10T15:22:15","date_gmt":"2014-08-10T14:22:15","guid":{"rendered":"http:\/\/phoenixgamedevelopment.com\/blog\/?p=794"},"modified":"2014-08-10T16:50:07","modified_gmt":"2014-08-10T15:50:07","slug":"p-149-firefox-extension-advanced-search-feature","status":"publish","type":"post","link":"https:\/\/phoenixgamedevelopment.com\/blog\/p-149-firefox-extension-advanced-search-feature\/","title":{"rendered":"P-149: Firefox Extension (Advanced Search Feature)"},"content":{"rendered":"<p>I had an idea for an advanced search feature which I wanted to try out. This feature basically searches through a block of text for a search term, and will find the term even if it is obfuscated or misspelled. It does this by searching through a block of characters at a time, and comparing the number of times characters in the search text appear in the search term. If this is over a certain value, this is deemed to be a match.<\/p>\n<p>I had originally intended to test this idea out with a conventional C++ or Java program, but I thought that in the modern world, people don&#8217;t really download executables any more. Everything is delivered online, through flash, or through apps. So, I decided to write an addon for Firefox. I had never written one before, so I thought it would be a valuable learning experience.<br \/>\nI also decided to use Github for this project, since I had never used it before for a project of my own, although I do use it with the T3D game engine.<\/p>\n<p>Installing the addonsdk for firefox was very straightforward, and I am using UltraEdit, my regualr text editor, for programming. Firefox used Javascript for it&#8217;s addons, and Ultraedit supports syntax highlighting for JavaScript.<br \/>\nThe learning curve was quite steep initially, however I did succeed in getting my project working. I have some finishing touches to do, and I then need to package it so that it can be listed for download as a FireFox addon, but the project is essentially complete.<\/p>\n<p>It can be accessed <a href=\"https:\/\/github.com\/PhoenixGameDevelopment\/P149\">HERE<\/a>.<\/p>\n<p><a href=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2014\/08\/PhoenixGameDevelopment17-Aug.-06-19.38.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-802\" alt=\"PhoenixGameDevelopment17 Aug. 06 19.38\" src=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2014\/08\/PhoenixGameDevelopment17-Aug.-06-19.38-300x162.jpg\" width=\"300\" height=\"162\" srcset=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2014\/08\/PhoenixGameDevelopment17-Aug.-06-19.38-300x162.jpg 300w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2014\/08\/PhoenixGameDevelopment17-Aug.-06-19.38-1024x554.jpg 1024w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2014\/08\/PhoenixGameDevelopment17-Aug.-06-19.38.jpg 1440w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a> <a href=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2014\/08\/PhoenixGameDevelopment18-Aug.-06-19.38.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-801\" alt=\"PhoenixGameDevelopment18 Aug. 06 19.38\" src=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2014\/08\/PhoenixGameDevelopment18-Aug.-06-19.38-300x162.jpg\" width=\"300\" height=\"162\" srcset=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2014\/08\/PhoenixGameDevelopment18-Aug.-06-19.38-300x162.jpg 300w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2014\/08\/PhoenixGameDevelopment18-Aug.-06-19.38-1024x554.jpg 1024w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2014\/08\/PhoenixGameDevelopment18-Aug.-06-19.38.jpg 1440w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a> <a href=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2014\/08\/PhoenixGameDevelopment22-Aug.-10-15.15.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-800\" alt=\"PhoenixGameDevelopment22 Aug. 10 15.15\" src=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2014\/08\/PhoenixGameDevelopment22-Aug.-10-15.15-300x162.jpg\" width=\"300\" height=\"162\" srcset=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2014\/08\/PhoenixGameDevelopment22-Aug.-10-15.15-300x162.jpg 300w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2014\/08\/PhoenixGameDevelopment22-Aug.-10-15.15-1024x554.jpg 1024w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2014\/08\/PhoenixGameDevelopment22-Aug.-10-15.15.jpg 1440w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a> <a href=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2014\/08\/PhoenixGameDevelopment24-Aug.-10-16.34.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-799\" alt=\"PhoenixGameDevelopment24 Aug. 10 16.34\" src=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2014\/08\/PhoenixGameDevelopment24-Aug.-10-16.34-300x162.jpg\" width=\"300\" height=\"162\" srcset=\"https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2014\/08\/PhoenixGameDevelopment24-Aug.-10-16.34-300x162.jpg 300w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2014\/08\/PhoenixGameDevelopment24-Aug.-10-16.34-1024x554.jpg 1024w, https:\/\/phoenixgamedevelopment.com\/blog\/wp-content\/uploads\/2014\/08\/PhoenixGameDevelopment24-Aug.-10-16.34.jpg 1440w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I had an idea for an advanced search feature which I wanted to try out. This feature basically searches through a block of text for a search term, and will find the term even if it is obfuscated or misspelled. It does this by searching through a block of characters at a time, and comparing [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8,10],"tags":[],"class_list":["post-794","post","type-post","status-publish","format-standard","hentry","category-news","category-software-and-games","has-post-title","has-post-date","has-post-category","has-post-tag","has-post-comment","has-post-author",""],"aioseo_notices":[],"builder_content":"","_links":{"self":[{"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/posts\/794"}],"collection":[{"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/comments?post=794"}],"version-history":[{"count":3,"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/posts\/794\/revisions"}],"predecessor-version":[{"id":803,"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/posts\/794\/revisions\/803"}],"wp:attachment":[{"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/media?parent=794"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/categories?post=794"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/phoenixgamedevelopment.com\/blog\/wp-json\/wp\/v2\/tags?post=794"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}