Author Topic: [MOD] Firefox Search Engine  (Read 3196 times)

0 Members and 1 Guest are viewing this topic.

Offline Lucifix

  • Hero Member
  • *****
  • Posts: 710
    • View Profile
    • http://www.slo-foto.net
[MOD] Firefox Search Engine
« on: August 13, 2010, 09:35:36 AM »
I've made little mod that allow you to add your 4images gallery to your Firefox search engine.

1st open Notepad and past this in it:
Code: [Select]
<search
version="7.1"
name=""
description=""
action=""
searchForm=""
method="GET"
>

<input name="sourceid" value="Mozilla-search">
<input name="search_keywords" user >
  
</search>

Then change (only red text)
name="Name of your website"
description="description of your website"
action="path-to-your-website/search.php"
searchForm="path-to-your-website"

Then: File > Save as > (go to directory: C:\Program Files\Mozilla Firefox\searchplugins)
File name: yourwebsitename.src
Save as type: All type
Encoding: ANSI

After restarting Firefox select on the top your new search engine, enter keywords and let me know if its working ;)


EDIT:

I've also found way to submit your gallery to Firefox search engine list.

You can read this tutorial:
http://www.hacktheday.com/step-by-step-create-your-own-search-engine-for-firefox-twitter-contacts/


And submit your search engine here:
http://mycroft.mozdev.org/submitos.html

Here is some info about inputs:
Search URL: http://www.yourdomain.com/search.php?search_keywords={searchTerms}
Search Form URL: http://www.yourdomain.com/search.php
Reference: (whatever you want)


« Last Edit: August 13, 2010, 10:29:04 AM by Lucifix »

Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline Lucifix

  • Hero Member
  • *****
  • Posts: 710
    • View Profile
    • http://www.slo-foto.net
Re: [MOD] Firefox Search Engine
« Reply #2 on: August 13, 2010, 02:26:29 PM »
Oh I missed that :? No problem at all, it took me only few minutes to make this one :) 

PS: I think mine is little different and simpler  :roll: