From 0226cb6655cdf0948be1e91d0876925c0b7cb72c Mon Sep 17 00:00:00 2001 From: Einar Egilsson Date: Sun, 10 May 2009 05:20:55 +0000 Subject: SVN keywords on all source files git-svn-id: http://einaregilsson.googlecode.com/svn/mozilla/redirector/trunk@210 119bf307-c92d-0410-89bd-8f53e6181181 --- Redirector.csproj | 4 +- Redirector.sln | 2 +- chrome.manifest | 1 - chrome/content/help.html | 9 +- chrome/content/overlay.js | 8 +- chrome/content/overlay.xul | 1 - chrome/content/redirect.xul | 1 + chrome/content/redirectList.js | 18 + chrome/content/redirectList.xul | 5 +- chrome/locale/en-US/redirector.properties | 1 + chrome/skin/overlay.css | 1 - components/redirector.js | 602 +++++++++++++++--------------- 12 files changed, 331 insertions(+), 322 deletions(-) delete mode 100644 chrome/skin/overlay.css diff --git a/Redirector.csproj b/Redirector.csproj index 493850f..ef3b3fd 100644 --- a/Redirector.csproj +++ b/Redirector.csproj @@ -1,4 +1,5 @@ - + + Debug @@ -52,7 +53,6 @@ - diff --git a/Redirector.sln b/Redirector.sln index a61c861..11e33d9 100644 --- a/Redirector.sln +++ b/Redirector.sln @@ -1,4 +1,4 @@ - +# $Id$ Microsoft Visual Studio Solution File, Format Version 10.00 # Visual Studio 2008 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Redirector", "Redirector.csproj", "{1C962CCA-74DC-4F72-8C83-7617F2275D1A}" diff --git a/chrome.manifest b/chrome.manifest index a64fc76..f3fbf82 100644 --- a/chrome.manifest +++ b/chrome.manifest @@ -1,5 +1,4 @@ # $Id$ content redirector file:chrome/content/ locale redirector en-US file:chrome/locale/en-US/ -skin redirector classic/1.0 file:chrome/skin/ overlay chrome://browser/content/browser.xul chrome://redirector/content/overlay.xul \ No newline at end of file diff --git a/chrome/content/help.html b/chrome/content/help.html index e74048e..0ce6769 100644 --- a/chrome/content/help.html +++ b/chrome/content/help.html @@ -1,3 +1,4 @@ + Redirector Help @@ -18,7 +19,6 @@
  • Exclude pattern
  • Redirect to
  • Pattern type
  • -
  • Only if link exists
  • Wildcards
  • @@ -49,7 +49,7 @@

    Basic usage

    To add a new redirect you can go to the Tools menuitem and select Redirector. That will open the Redirector settings window which shows all your redirects. The window can also be opened - by right clicking on the R icon in your statusbar and selecting Manage redirects. + by right clicking on the R icon in your statusbar. There you can press the Add... button and then you can enter the details for the new redirect. A redirect consists of a few things:

      @@ -75,11 +75,6 @@
    • Pattern type: This specifies how Redirector should interpret the patterns, either as wildcards or regular expressions.
    • -
    • Only if link exists: If this is checked then the redirect will only happen if there is a link - to the target page on the page that matches the include pattern. For instance, if you have a redirect from http://foo.com to - http://bar.com and check Only if link exists then http://foo.com has to have a hyperlink to http://bar.com, otherwise - nothing will happen. -

    diff --git a/chrome/content/overlay.js b/chrome/content/overlay.js index 46f69cc..760f828 100644 --- a/chrome/content/overlay.js +++ b/chrome/content/overlay.js @@ -117,8 +117,6 @@ var RedirectorOverlay = { } }, - - prefObserver : { getService : function() { @@ -138,11 +136,7 @@ var RedirectorOverlay = { RedirectorOverlay.setStatusBarImg(); } } - } - - }; window.addEventListener("load", function(event) { RedirectorOverlay.onLoad(event); }, false); -window.addEventListener("DOMContentLoaded", function(event) { RedirectorOverlay.onDOMContentLoaded(event); }, true); -window.addEventListener("unload", function(event) { RedirectorOverlay.onUnload(event); }, false); \ No newline at end of file +window.addEventListener("unload", function(event) { RedirectorOverlay.onUnload(event); }, false); diff --git a/chrome/content/overlay.xul b/chrome/content/overlay.xul index f46bfcf..9c4619e 100644 --- a/chrome/content/overlay.xul +++ b/chrome/content/overlay.xul @@ -1,6 +1,5 @@ - diff --git a/chrome/content/redirect.xul b/chrome/content/redirect.xul index e808fc4..aea930b 100644 --- a/chrome/content/redirect.xul +++ b/chrome/content/redirect.xul @@ -1,4 +1,5 @@ + +