[Ext] IETAB FilterList Updater

Announce and Discuss the Latest Theme and Extension Releases.
Post Reply
User avatar
yuoo2k
Posts: 721
Joined: November 1st, 2005, 9:03 am
Location: Taiwan

[Ext] IETAB FilterList Updater

Post by yuoo2k »

KingOfDos wrote:I have the remote proxy script for usage within Internet Explorer, but no remote script functionality in IETab. I really need to maintain IETab on 75 users (x2, local and Citrix, so 150 IETab configurations) from a central place. I want to upload 1 (one) single file to any webserver, let's say http://company.com/ietab-site-filter.txt, based on that file the IETab needs to automaticlly open the websites in that file with IETab.

I really need this before I can publish Firefox in our company. When a website is not working, I've got to configure all users / browsers at once. So the users only need to close/reopen there browser, and a website is automatically opened via IETab. This requires only 1 user who finds a website that's not working to configure the whole company.

Try this...
http://forum.moztw.org/files/ietab_filt ... .1_100.xpi

First, extract the .xpi file, edit the following file:
ietab_filterlist_updater.xpi\defaults\preferences\ietabfupdater.js

Original code:

Code: Select all

pref("ietab.filterlist.updater.enabled", true);
pref("ietab.filterlist.updater.site", "");

Change it to...

Code: Select all

pref("ietab.filterlist.updater.enabled", true);
pref("ietab.filterlist.updater.site", "http://company.com/ietab-filterlist.txt");

P.S. This case, I assume that your filter file on http://company.com/ietab-filterlist.txt
And then, use zip format repack ietab_filterlist_updater.xpi

Second, write the ietab-filterlist.txt
For example:

Code: Select all

# default rules
/^file:\/\/\/.*\.(mht|mhtml)$/
http://*update.microsoft.com/
http://www.windowsupdate.com/

# user reported rules
http://*.live.com/
http://msdn.microsoft.com/library/cht/

It must be a plain text file, one rule per line, any lines starts with # will be ignored (comment line).
Save the file and upload it to your server e.g. http://company.com/ietab-filterlist.txt

Third, share ietab_filterlist_updater.xpi and install it on all PC in your company.
P.S. This extension supports Firefox 1.5~3.0a1

--

Additionally, you can modify following file to support the extension's Automatic Update.
ietab_filterlist_updater.xpi\install.rdf
Remove comment "<!--" and "-->", and change the following code:

Code: Select all

<em:updateURL>http://ietabfupdater.mozdev.org/update.rdf</em:updateURL>

to your update URL, for example:

Code: Select all

<em:updateURL>http://company.com/update.rdf</em:updateURL>


The update.rdf example:

Code: Select all

<RDF:RDF xmlns:RDF="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
         xmlns:em="http://www.mozilla.org/2004/em-rdf#">

  <RDF:Description about="urn:mozilla:extension:ietabfupdater@mozdev.org">
    <em:updates>
      <RDF:Seq>
        <RDF:li resource="urn:mozilla:extension:ietabfupdater@mozdev.org:0.1.20061117"/>
      </RDF:Seq>
    </em:updates>
    <em:version>0.1.20061117</em:version>
    <em:updateLink>http://company.com/ietab_filterlist_updater.xpi</em:updateLink>
  </RDF:Description>

  <RDF:Description about="urn:mozilla:extension:ietabfupdater@mozdev.org:0.1.20061117">
    <em:version>0.1.20061117</em:version>
    <em:targetApplication>
      <Description>
        <em:id>{ec8030f7-c20a-464f-9b0e-13a3a9e97384}</em:id>
        <em:minVersion>1.5</em:minVersion>
        <em:maxVersion>3.0a1</em:maxVersion>
        <em:updateLink>http://company.com/ietab_filterlist_updater.xpi</em:updateLink>
      </Description>
    </em:targetApplication>
  </RDF:Description>

</RDF:RDF>


This extension use GNU General Public License (GPL).
Post Reply