From 67689b28b8b9d7528f57db9079432f8103568b51 Mon Sep 17 00:00:00 2001 From: Keith Bowes Date: Sun, 29 Jan 2017 22:14:56 -0500 Subject: [PATCH] Preparation for a release --- development/Makefile | 8 +++ development/common_install.rdf | 3 +- development/config.properties | 10 ++-- .../useragentswitcher/upgrade.js | 2 +- .../useragentswitcher/useragentswitcher.js | 6 +- .../useragentswitcher.properties | 1 + .../useragentswitcher.properties | 1 + .../useragentswitcher.properties | 1 + .../useragentswitcher/useragentswitcher.dtd | 2 +- .../useragentswitcher.properties | 1 + .../useragentswitcher.properties | 1 + .../useragentswitcher.properties | 1 + .../useragentswitcher.properties | 1 + .../useragentswitcher.properties | 1 + .../useragentswitcher.properties | 1 + .../useragentswitcher.properties | 1 + .../useragentswitcher.properties | 1 + .../useragentswitcher.properties | 1 + .../useragentswitcher.properties | 1 + .../useragentswitcher.properties | 1 + .../useragentswitcher.properties | 1 + .../useragentswitcher.properties | 1 + .../useragentswitcher.properties | 1 + .../useragentswitcher.properties | 1 + .../useragentswitcher.properties | 1 + .../useragentswitcher.properties | 1 + .../useragentswitcher.properties | 1 + .../useragentswitcher.properties | 1 + .../useragentswitcher.properties | 1 + .../useragentswitcher.properties | 1 + .../useragentswitcher.properties | 1 + .../useragentswitcher.properties | 1 + .../useragentswitcher.properties | 1 + .../useragentswitcher.properties | 1 + .../useragentswitcher.properties | 1 + readme.md | 58 +++++++++---------- 36 files changed, 77 insertions(+), 41 deletions(-) diff --git a/development/Makefile b/development/Makefile index eb95390..ef87a03 100644 --- a/development/Makefile +++ b/development/Makefile @@ -6,6 +6,7 @@ BROWSER ?= $(if $(and $(DISPLAY),$(XDG_SESSION_ID)),xdg-open, \ CP ?= install -m 644 CURL ?= curl ECHO ?= echo +MARKDOWN ?= Markdown.pl MKDIR ?= install -d -m 755 MV ?= mv RM ?= rm -f @@ -74,6 +75,13 @@ chrome/useragentswitcher.jar: config.sed $(chrome_files) cd chrome && $(ZIP) -0 $(notdir $@) content locale skin $(RMDIR) $(addprefix chrome/,content locale skin) +docs/index.html: README.md + $(MKDIR) $(dir $@) + $(file > $@,User Agent Switcher Overview) + $(file >> $@,$(shell $(MARKDOWN) $<)) + $(file >> $@,) + tidy -asxhtml -utf8 -w -im $@ + config.sed: config.properties $(SED) -e 's/^\(.\+\)=\(.\+\)$$/s,@\1@,\2,g/g' $< > $@ diff --git a/development/common_install.rdf b/development/common_install.rdf index 8d68107..fc070a2 100644 --- a/development/common_install.rdf +++ b/development/common_install.rdf @@ -6,6 +6,7 @@ chrome://useragentswitcher/content/about/about.xul Chris Pederick + Keith Bowes @description@ @home.page@ chrome://useragentswitcher/content/logo.png @@ -14,7 +15,7 @@ @name@ chrome://useragentswitcher/content/options/options.xul 2 - @home.page@history/ + @home.page@releases/ @user.agent.switcher.update.manifest@ @version@ diff --git a/development/config.properties b/development/config.properties index 9956191..553b797 100644 --- a/development/config.properties +++ b/development/config.properties @@ -1,8 +1,8 @@ description=Adds a menu and a toolbar button to switch the user agent of a browser. -home.page=http://chrispederick.com/work/user-agent-switcher/ -id=user-agent-switcher@chrispederick.com +home.page=http://keithbowes.github.io/user-agent-switcher/ +id=user-agent-switcher@keithbowes.github.io name=User Agent Switcher toolkit.max.version=49.* -user.agent.switcher.update.manifest=https://cdn.rawgit.com/keithbowes/user-agent-switcher/master/development/updates/update.rdf -user.agents.page=http://chrispederick.com/work/user-agent-switcher/user-agents/ -version=0.7.3-kb-1.0 +user.agent.switcher.update.manifest=https://cdn.rawgit.com/keithbowes/user-agent-switcher/master/update.rdf +user.agents.page=http://techpatterns.com/downloads/download_item.php?folder=firefox&filename=useragentswitcher.xml +version=0.8 diff --git a/development/source/content_common/useragentswitcher/upgrade.js b/development/source/content_common/useragentswitcher/upgrade.js index a39da20..f5ef0f2 100644 --- a/development/source/content_common/useragentswitcher/upgrade.js +++ b/development/source/content_common/useragentswitcher/upgrade.js @@ -166,7 +166,7 @@ var UserAgentSwitcherUpgrade = windowContent.removeEventListener("load", UserAgentSwitcherUpgrade.openUpgradePage, false); - window.setTimeout(function() { windowContent.selectedTab = windowContent.addTab("@home.page@installed/" + UserAgentSwitcherUpgrade.getVersion().replace(/\./g, "") + "/"); }, 0); + window.setTimeout(function() { if (confirm(UserAgentSwitcherStringBundle.getString("whatsNew"))) { windowContent.selectedTab = windowContent.addTab("@home.page@releases/@version@/"); }}, 0); }, // Parses the version number diff --git a/development/source/content_common/useragentswitcher/useragentswitcher.js b/development/source/content_common/useragentswitcher/useragentswitcher.js index d63a246..02418fe 100644 --- a/development/source/content_common/useragentswitcher/useragentswitcher.js +++ b/development/source/content_common/useragentswitcher/useragentswitcher.js @@ -103,7 +103,7 @@ var UserAgentSwitcher = // Opens the help help: function() { - window.getBrowser().selectedTab = window.getBrowser().addTab("@home.page@help/"); + window.getBrowser().selectedTab = window.getBrowser().addTab("@home.page@docs/help/"); }, // Initializes the extension @@ -440,7 +440,7 @@ var UserAgentSwitcher = var position = userAgent.getAttribute("useragentswitcherposition"); var userAgentDescription = userAgent.getAttribute("label"); - var properties = new Array('appcodename', 'appname', 'appversion', 'platform', 'useragent', 'vendor', 'vendorsub'); + var properties = ['appcodename', 'appname', 'appversion', 'platform', 'useragent', 'vendor', 'vendorsub']; var pref; for (i = 0; i < properties.length; i++) { @@ -477,7 +477,7 @@ var UserAgentSwitcher = // Opens the test page test: function() { - window.getBrowser().selectedTab = window.getBrowser().addTab("@home.page@features/test/"); + window.getBrowser().selectedTab = window.getBrowser().addTab("chrome://useragentswitcher/content/test.html"); }, // Uninitializes the extension diff --git a/development/source/locale_common/be-BY/useragentswitcher/useragentswitcher.properties b/development/source/locale_common/be-BY/useragentswitcher/useragentswitcher.properties index b60a807..5b6678d 100644 --- a/development/source/locale_common/be-BY/useragentswitcher/useragentswitcher.properties +++ b/development/source/locale_common/be-BY/useragentswitcher/useragentswitcher.properties @@ -11,4 +11,5 @@ useragentswitcher_importUserAgents=Import User Agents useragentswitcher_newUserAgent=New User Agent useragentswitcher_reset=Скінуць useragentswitcher_resetConfirmation=Пацверджанне скіду +useragentswitcher_whatsNew=You just upgraded to a new version. Would you like to see what's new? useragentswitcher_xmlFileDescription=XML-файлы diff --git a/development/source/locale_common/cs-CZ/useragentswitcher/useragentswitcher.properties b/development/source/locale_common/cs-CZ/useragentswitcher/useragentswitcher.properties index 40d1998..50719b1 100755 --- a/development/source/locale_common/cs-CZ/useragentswitcher/useragentswitcher.properties +++ b/development/source/locale_common/cs-CZ/useragentswitcher/useragentswitcher.properties @@ -11,4 +11,5 @@ useragentswitcher_importUserAgents=Import User Agents useragentswitcher_newUserAgent=New User Agent useragentswitcher_reset=Reset useragentswitcher_resetConfirmation=Potvrzení +useragentswitcher_whatsNew=You just upgraded to a new version. Would you like to see what's new? useragentswitcher_xmlFileDescription=XML soubory diff --git a/development/source/locale_common/da-DK/useragentswitcher/useragentswitcher.properties b/development/source/locale_common/da-DK/useragentswitcher/useragentswitcher.properties index 96fcc04..0a22f74 100644 --- a/development/source/locale_common/da-DK/useragentswitcher/useragentswitcher.properties +++ b/development/source/locale_common/da-DK/useragentswitcher/useragentswitcher.properties @@ -11,4 +11,5 @@ useragentswitcher_importUserAgents=Import User Agents useragentswitcher_newUserAgent=New User Agent useragentswitcher_reset=Nulstil useragentswitcher_resetConfirmation=Nulstil bekræftelse +useragentswitcher_whatsNew=You just upgraded to a new version. Would you like to see what's new? useragentswitcher_xmlFileDescription=XML-filer diff --git a/development/source/locale_common/de-DE/useragentswitcher/useragentswitcher.dtd b/development/source/locale_common/de-DE/useragentswitcher/useragentswitcher.dtd index 8c50b4f..d301609 100644 --- a/development/source/locale_common/de-DE/useragentswitcher/useragentswitcher.dtd +++ b/development/source/locale_common/de-DE/useragentswitcher/useragentswitcher.dtd @@ -46,7 +46,7 @@ - + diff --git a/development/source/locale_common/de-DE/useragentswitcher/useragentswitcher.properties b/development/source/locale_common/de-DE/useragentswitcher/useragentswitcher.properties index 6bc4229..239f1ef 100644 --- a/development/source/locale_common/de-DE/useragentswitcher/useragentswitcher.properties +++ b/development/source/locale_common/de-DE/useragentswitcher/useragentswitcher.properties @@ -11,4 +11,5 @@ useragentswitcher_importUserAgents=Browserkennungen importieren useragentswitcher_newUserAgent=Neue Browserkennung useragentswitcher_reset=Zurücksetzen useragentswitcher_resetConfirmation=Zurücksetzen bestätigen +useragentswitcher_whatsNew=Sie aktualisierten gerade an eine neue Version. Würden Sie gern sehen, was ist Neues (auf Englisch)? useragentswitcher_xmlFileDescription=XML-Dateien diff --git a/development/source/locale_common/en-US/useragentswitcher/useragentswitcher.properties b/development/source/locale_common/en-US/useragentswitcher/useragentswitcher.properties index b28dcf4..2cd5e07 100644 --- a/development/source/locale_common/en-US/useragentswitcher/useragentswitcher.properties +++ b/development/source/locale_common/en-US/useragentswitcher/useragentswitcher.properties @@ -11,4 +11,5 @@ useragentswitcher_importUserAgents=Import User Agents useragentswitcher_newUserAgent=New User Agent useragentswitcher_reset=Reset useragentswitcher_resetConfirmation=Are you sure you want to reset all the User Agent Switcher options including the user agent list? +useragentswitcher_whatsNew=You just upgraded to a new version. Would you like to see what's new? useragentswitcher_xmlFileDescription=XML Files diff --git a/development/source/locale_common/es-AR/useragentswitcher/useragentswitcher.properties b/development/source/locale_common/es-AR/useragentswitcher/useragentswitcher.properties index 44fa2e9..ac2158e 100644 --- a/development/source/locale_common/es-AR/useragentswitcher/useragentswitcher.properties +++ b/development/source/locale_common/es-AR/useragentswitcher/useragentswitcher.properties @@ -11,4 +11,5 @@ useragentswitcher_importUserAgents=Import User Agents useragentswitcher_newUserAgent=New User Agent useragentswitcher_reset=Resetear useragentswitcher_resetConfirmation=Confirmación de Reseteo +useragentswitcher_whatsNew=You just upgraded to a new version. Would you like to see what's new? useragentswitcher_xmlFileDescription=Archivos XML diff --git a/development/source/locale_common/es-ES/useragentswitcher/useragentswitcher.properties b/development/source/locale_common/es-ES/useragentswitcher/useragentswitcher.properties index e25aa5c..481f2c1 100644 --- a/development/source/locale_common/es-ES/useragentswitcher/useragentswitcher.properties +++ b/development/source/locale_common/es-ES/useragentswitcher/useragentswitcher.properties @@ -11,4 +11,5 @@ useragentswitcher_importUserAgents=Import User Agents useragentswitcher_newUserAgent=New User Agent useragentswitcher_reset=Reset useragentswitcher_resetConfirmation=Reset Confirmation +useragentswitcher_whatsNew=You just upgraded to a new version. Would you like to see what's new? useragentswitcher_xmlFileDescription=XML Files diff --git a/development/source/locale_common/eu-ES/useragentswitcher/useragentswitcher.properties b/development/source/locale_common/eu-ES/useragentswitcher/useragentswitcher.properties index 30ed1e9..760d7d7 100644 --- a/development/source/locale_common/eu-ES/useragentswitcher/useragentswitcher.properties +++ b/development/source/locale_common/eu-ES/useragentswitcher/useragentswitcher.properties @@ -11,4 +11,5 @@ useragentswitcher_importUserAgents=Import User Agents useragentswitcher_newUserAgent=New User Agent useragentswitcher_reset=Berrezarri useragentswitcher_resetConfirmation=Berretsi Berrezartzea +useragentswitcher_whatsNew=You just upgraded to a new version. Would you like to see what's new? useragentswitcher_xmlFileDescription=XML Fitxategiak diff --git a/development/source/locale_common/fi-FI/useragentswitcher/useragentswitcher.properties b/development/source/locale_common/fi-FI/useragentswitcher/useragentswitcher.properties index d6b0788..62ec4c1 100644 --- a/development/source/locale_common/fi-FI/useragentswitcher/useragentswitcher.properties +++ b/development/source/locale_common/fi-FI/useragentswitcher/useragentswitcher.properties @@ -11,4 +11,5 @@ useragentswitcher_importUserAgents=Import User Agents useragentswitcher_newUserAgent=New User Agent useragentswitcher_reset=Palauta useragentswitcher_resetConfirmation=Palautuksen varmistus +useragentswitcher_whatsNew=You just upgraded to a new version. Would you like to see what's new? useragentswitcher_xmlFileDescription=XML-tiedostot diff --git a/development/source/locale_common/fr-FR/useragentswitcher/useragentswitcher.properties b/development/source/locale_common/fr-FR/useragentswitcher/useragentswitcher.properties index 6e40649..399123c 100755 --- a/development/source/locale_common/fr-FR/useragentswitcher/useragentswitcher.properties +++ b/development/source/locale_common/fr-FR/useragentswitcher/useragentswitcher.properties @@ -11,4 +11,5 @@ useragentswitcher_importUserAgents=Import User Agents useragentswitcher_newUserAgent=New User Agent useragentswitcher_reset=Réinitialiser useragentswitcher_resetConfirmation=Êtes-vous sûr de vouloir réinitialiser toutes les options de User Agent Switcher y-compris la liste des agents utilisateur ? +useragentswitcher_whatsNew=You just upgraded to a new version. Would you like to see what's new? useragentswitcher_xmlFileDescription=Fichiers XML diff --git a/development/source/locale_common/fy-NL/useragentswitcher/useragentswitcher.properties b/development/source/locale_common/fy-NL/useragentswitcher/useragentswitcher.properties index 851ce63..797addd 100644 --- a/development/source/locale_common/fy-NL/useragentswitcher/useragentswitcher.properties +++ b/development/source/locale_common/fy-NL/useragentswitcher/useragentswitcher.properties @@ -11,4 +11,5 @@ useragentswitcher_importUserAgents=Import User Agents useragentswitcher_newUserAgent=New User Agent useragentswitcher_reset=Tebeksette useragentswitcher_resetConfirmation=Befestiging Tebeksetting +useragentswitcher_whatsNew=You just upgraded to a new version. Would you like to see what's new? useragentswitcher_xmlFileDescription=XML Bestannen diff --git a/development/source/locale_common/he-IL/useragentswitcher/useragentswitcher.properties b/development/source/locale_common/he-IL/useragentswitcher/useragentswitcher.properties index 73dfb11..588e1d5 100644 --- a/development/source/locale_common/he-IL/useragentswitcher/useragentswitcher.properties +++ b/development/source/locale_common/he-IL/useragentswitcher/useragentswitcher.properties @@ -11,4 +11,5 @@ useragentswitcher_importUserAgents=Import User Agents useragentswitcher_newUserAgent=New User Agent useragentswitcher_reset=אפס useragentswitcher_resetConfirmation=אפס אישור +useragentswitcher_whatsNew=You just upgraded to a new version. Would you like to see what's new? useragentswitcher_xmlFileDescription=קבצי XML diff --git a/development/source/locale_common/hu-HU/useragentswitcher/useragentswitcher.properties b/development/source/locale_common/hu-HU/useragentswitcher/useragentswitcher.properties index c10a22d..f411831 100755 --- a/development/source/locale_common/hu-HU/useragentswitcher/useragentswitcher.properties +++ b/development/source/locale_common/hu-HU/useragentswitcher/useragentswitcher.properties @@ -11,4 +11,5 @@ useragentswitcher_importUserAgents=Import User Agents useragentswitcher_newUserAgent=New User Agent useragentswitcher_reset=Alapértelmezett useragentswitcher_resetConfirmation=Alapértelmezések visszaállítása +useragentswitcher_whatsNew=You just upgraded to a new version. Would you like to see what's new? useragentswitcher_xmlFileDescription=XML Fájlok diff --git a/development/source/locale_common/it-IT/useragentswitcher/useragentswitcher.properties b/development/source/locale_common/it-IT/useragentswitcher/useragentswitcher.properties index 8f9ce58..f1e668c 100644 --- a/development/source/locale_common/it-IT/useragentswitcher/useragentswitcher.properties +++ b/development/source/locale_common/it-IT/useragentswitcher/useragentswitcher.properties @@ -11,4 +11,5 @@ useragentswitcher_importUserAgents=Import User Agents useragentswitcher_newUserAgent=New User Agent useragentswitcher_reset=Reimposta useragentswitcher_resetConfirmation=Reimpostazione conferma +useragentswitcher_whatsNew=You just upgraded to a new version. Would you like to see what's new? useragentswitcher_xmlFileDescription=File XML diff --git a/development/source/locale_common/ja-JP/useragentswitcher/useragentswitcher.properties b/development/source/locale_common/ja-JP/useragentswitcher/useragentswitcher.properties index 3ee9f80..6685211 100644 --- a/development/source/locale_common/ja-JP/useragentswitcher/useragentswitcher.properties +++ b/development/source/locale_common/ja-JP/useragentswitcher/useragentswitcher.properties @@ -11,4 +11,5 @@ useragentswitcher_importUserAgents=Import User Agents useragentswitcher_newUserAgent=New User Agent useragentswitcher_reset=リセット useragentswitcher_resetConfirmation=リセット確認 +useragentswitcher_whatsNew=You just upgraded to a new version. Would you like to see what's new? useragentswitcher_xmlFileDescription=XML ファイル diff --git a/development/source/locale_common/ko-KR/useragentswitcher/useragentswitcher.properties b/development/source/locale_common/ko-KR/useragentswitcher/useragentswitcher.properties index daa7929..c656f2b 100644 --- a/development/source/locale_common/ko-KR/useragentswitcher/useragentswitcher.properties +++ b/development/source/locale_common/ko-KR/useragentswitcher/useragentswitcher.properties @@ -11,4 +11,5 @@ useragentswitcher_importUserAgents=Import User Agents useragentswitcher_newUserAgent=New User Agent useragentswitcher_reset=초기화 useragentswitcher_resetConfirmation=Confirmation 초기화 +useragentswitcher_whatsNew=You just upgraded to a new version. Would you like to see what's new? useragentswitcher_xmlFileDescription=XML 파일 diff --git a/development/source/locale_common/lt-LT/useragentswitcher/useragentswitcher.properties b/development/source/locale_common/lt-LT/useragentswitcher/useragentswitcher.properties index be1eb87..12d6aa4 100644 --- a/development/source/locale_common/lt-LT/useragentswitcher/useragentswitcher.properties +++ b/development/source/locale_common/lt-LT/useragentswitcher/useragentswitcher.properties @@ -11,4 +11,5 @@ useragentswitcher_importUserAgents=Import User Agents useragentswitcher_newUserAgent=New User Agent useragentswitcher_reset=Atkurti useragentswitcher_resetConfirmation=Atkūrimo patvirtinimas +useragentswitcher_whatsNew=You just upgraded to a new version. Would you like to see what's new? useragentswitcher_xmlFileDescription=XML Bylos diff --git a/development/source/locale_common/mk-MK/useragentswitcher/useragentswitcher.properties b/development/source/locale_common/mk-MK/useragentswitcher/useragentswitcher.properties index f0ff6a1..281e39a 100644 --- a/development/source/locale_common/mk-MK/useragentswitcher/useragentswitcher.properties +++ b/development/source/locale_common/mk-MK/useragentswitcher/useragentswitcher.properties @@ -11,4 +11,5 @@ useragentswitcher_importUserAgents=Import User Agents useragentswitcher_newUserAgent=New User Agent useragentswitcher_reset=Врати useragentswitcher_resetConfirmation=Потврда за враќање +useragentswitcher_whatsNew=You just upgraded to a new version. Would you like to see what's new? useragentswitcher_xmlFileDescription=XML датотеки diff --git a/development/source/locale_common/nl-NL/useragentswitcher/useragentswitcher.properties b/development/source/locale_common/nl-NL/useragentswitcher/useragentswitcher.properties index e25aa5c..481f2c1 100644 --- a/development/source/locale_common/nl-NL/useragentswitcher/useragentswitcher.properties +++ b/development/source/locale_common/nl-NL/useragentswitcher/useragentswitcher.properties @@ -11,4 +11,5 @@ useragentswitcher_importUserAgents=Import User Agents useragentswitcher_newUserAgent=New User Agent useragentswitcher_reset=Reset useragentswitcher_resetConfirmation=Reset Confirmation +useragentswitcher_whatsNew=You just upgraded to a new version. Would you like to see what's new? useragentswitcher_xmlFileDescription=XML Files diff --git a/development/source/locale_common/pl-PL/useragentswitcher/useragentswitcher.properties b/development/source/locale_common/pl-PL/useragentswitcher/useragentswitcher.properties index 0736301..c8aa024 100644 --- a/development/source/locale_common/pl-PL/useragentswitcher/useragentswitcher.properties +++ b/development/source/locale_common/pl-PL/useragentswitcher/useragentswitcher.properties @@ -11,4 +11,5 @@ useragentswitcher_importUserAgents=Import User Agents useragentswitcher_newUserAgent=New User Agent useragentswitcher_reset=Domyślne useragentswitcher_resetConfirmation=Przywróć potwierdzenia +useragentswitcher_whatsNew=You just upgraded to a new version. Would you like to see what's new? useragentswitcher_xmlFileDescription=Pliki XML diff --git a/development/source/locale_common/pt-BR/useragentswitcher/useragentswitcher.properties b/development/source/locale_common/pt-BR/useragentswitcher/useragentswitcher.properties index ccc96d9..285a072 100644 --- a/development/source/locale_common/pt-BR/useragentswitcher/useragentswitcher.properties +++ b/development/source/locale_common/pt-BR/useragentswitcher/useragentswitcher.properties @@ -11,4 +11,5 @@ useragentswitcher_importUserAgents=Import User Agents useragentswitcher_newUserAgent=New User Agent useragentswitcher_reset=Restaurar useragentswitcher_resetConfirmation=Restaurar confirmação +useragentswitcher_whatsNew=You just upgraded to a new version. Would you like to see what's new? useragentswitcher_xmlFileDescription=Arquivos XML diff --git a/development/source/locale_common/pt-PT/useragentswitcher/useragentswitcher.properties b/development/source/locale_common/pt-PT/useragentswitcher/useragentswitcher.properties index c17bca3..420c2bc 100755 --- a/development/source/locale_common/pt-PT/useragentswitcher/useragentswitcher.properties +++ b/development/source/locale_common/pt-PT/useragentswitcher/useragentswitcher.properties @@ -11,4 +11,5 @@ useragentswitcher_importUserAgents=Import User Agents useragentswitcher_newUserAgent=New User Agent useragentswitcher_reset=Restaurar definiç\\u00F5es originais useragentswitcher_resetConfirmation=Restaurar definiç\\u00F5es originais +useragentswitcher_whatsNew=You just upgraded to a new version. Would you like to see what's new? useragentswitcher_xmlFileDescription=Arquivos XML diff --git a/development/source/locale_common/ro-RO/useragentswitcher/useragentswitcher.properties b/development/source/locale_common/ro-RO/useragentswitcher/useragentswitcher.properties index 2200b65..1a870a3 100644 --- a/development/source/locale_common/ro-RO/useragentswitcher/useragentswitcher.properties +++ b/development/source/locale_common/ro-RO/useragentswitcher/useragentswitcher.properties @@ -11,4 +11,5 @@ useragentswitcher_importUserAgents=Import User Agents useragentswitcher_newUserAgent=New User Agent useragentswitcher_reset=Reinitializeaza useragentswitcher_resetConfirmation=Confirmare reinitializare +useragentswitcher_whatsNew=You just upgraded to a new version. Would you like to see what's new? useragentswitcher_xmlFileDescription=Fisiere XML diff --git a/development/source/locale_common/ru-RU/useragentswitcher/useragentswitcher.properties b/development/source/locale_common/ru-RU/useragentswitcher/useragentswitcher.properties index b83c534..b33e68f 100755 --- a/development/source/locale_common/ru-RU/useragentswitcher/useragentswitcher.properties +++ b/development/source/locale_common/ru-RU/useragentswitcher/useragentswitcher.properties @@ -11,4 +11,5 @@ useragentswitcher_importUserAgents=Import User Agents useragentswitcher_newUserAgent=New User Agent useragentswitcher_reset=Сбросить useragentswitcher_resetConfirmation=Подтверждение сброса +useragentswitcher_whatsNew=You just upgraded to a new version. Would you like to see what's new? useragentswitcher_xmlFileDescription=XML-файлы diff --git a/development/source/locale_common/sk-SK/useragentswitcher/useragentswitcher.properties b/development/source/locale_common/sk-SK/useragentswitcher/useragentswitcher.properties index d46061c..7d045d2 100755 --- a/development/source/locale_common/sk-SK/useragentswitcher/useragentswitcher.properties +++ b/development/source/locale_common/sk-SK/useragentswitcher/useragentswitcher.properties @@ -11,4 +11,5 @@ useragentswitcher_importUserAgents=Import User Agents useragentswitcher_newUserAgent=New User Agent useragentswitcher_reset=Obnoviť useragentswitcher_resetConfirmation=Potvrdiť obnovenie +useragentswitcher_whatsNew=You just upgraded to a new version. Would you like to see what's new? useragentswitcher_xmlFileDescription=XML súbory diff --git a/development/source/locale_common/tr-TR/useragentswitcher/useragentswitcher.properties b/development/source/locale_common/tr-TR/useragentswitcher/useragentswitcher.properties index 46696b9..e075a63 100644 --- a/development/source/locale_common/tr-TR/useragentswitcher/useragentswitcher.properties +++ b/development/source/locale_common/tr-TR/useragentswitcher/useragentswitcher.properties @@ -11,4 +11,5 @@ useragentswitcher_importUserAgents=Import User Agents useragentswitcher_newUserAgent=New User Agent useragentswitcher_reset=Temel tercihlere dönüş (sıfırla) useragentswitcher_resetConfirmation=Temel tercihlere dönüş - emin misiniz ? +useragentswitcher_whatsNew=You just upgraded to a new version. Would you like to see what's new? useragentswitcher_xmlFileDescription=XML dosyaları diff --git a/development/source/locale_common/uk-UA/useragentswitcher/useragentswitcher.properties b/development/source/locale_common/uk-UA/useragentswitcher/useragentswitcher.properties index 4a0ab6e..d8fae72 100644 --- a/development/source/locale_common/uk-UA/useragentswitcher/useragentswitcher.properties +++ b/development/source/locale_common/uk-UA/useragentswitcher/useragentswitcher.properties @@ -11,4 +11,5 @@ useragentswitcher_importUserAgents=Import User Agents useragentswitcher_newUserAgent=New User Agent useragentswitcher_reset=Скинути useragentswitcher_resetConfirmation=Підтвердження Скидання\u0020 +useragentswitcher_whatsNew=You just upgraded to a new version. Would you like to see what's new? useragentswitcher_xmlFileDescription=XML Файли diff --git a/development/source/locale_common/zh-CN/useragentswitcher/useragentswitcher.properties b/development/source/locale_common/zh-CN/useragentswitcher/useragentswitcher.properties index 66a55c2..4508161 100644 --- a/development/source/locale_common/zh-CN/useragentswitcher/useragentswitcher.properties +++ b/development/source/locale_common/zh-CN/useragentswitcher/useragentswitcher.properties @@ -11,4 +11,5 @@ useragentswitcher_importUserAgents=Import User Agents useragentswitcher_newUserAgent=New User Agent useragentswitcher_reset=重置 useragentswitcher_resetConfirmation=重置确认 +useragentswitcher_whatsNew=You just upgraded to a new version. Would you like to see what's new? useragentswitcher_xmlFileDescription=XML文件 diff --git a/development/source/locale_common/zh-TW/useragentswitcher/useragentswitcher.properties b/development/source/locale_common/zh-TW/useragentswitcher/useragentswitcher.properties index 533cb90..4a2f4be 100755 --- a/development/source/locale_common/zh-TW/useragentswitcher/useragentswitcher.properties +++ b/development/source/locale_common/zh-TW/useragentswitcher/useragentswitcher.properties @@ -11,4 +11,5 @@ useragentswitcher_importUserAgents=Import User Agents useragentswitcher_newUserAgent=New User Agent useragentswitcher_reset=重設 useragentswitcher_resetConfirmation=確認重設 +useragentswitcher_whatsNew=You just upgraded to a new version. Would you like to see what's new? useragentswitcher_xmlFileDescription=XML 檔案 diff --git a/readme.md b/readme.md index 98f8d83..556ae4b 100644 --- a/readme.md +++ b/readme.md @@ -1,60 +1,58 @@ -User Agent Switcher -=================== +# User Agent Switcher The User Agent Switcher extension adds a menu and a toolbar button to switch the user agent of a browser. -The extension is available for Toolkit-based Gecko applications (see below), and will run on any platform that this layout engine supports including Windows, OS X and Linux. +The extension is available for [Toolkit](https://developer.mozilla.org/en-US/docs/Mozilla/Tech/Toolkit_API)-based [Gecko](https://developer.mozilla.org/en-US/docs/Mozilla/Gecko) applications (see the *[Works in](#worksin)* section for more details), and will run on any platform that this layout engine supports, including Windows, OS X, and Linux. -The extension can be installed from [the extension's home page](http://chrispederick.com/work/user-agent-switcher/), from [the extension's AMO page](https://addons.mozilla.org/addon/user-agent-switcher/), or from the [releases page](releases/). +## Downloading and installing +The extension can be installed from from the [releases page](https://github.com/keithbowes//user-agent-switcher/releases/). -Works in --------- +The latest source code can be downloaded as a [ZIP file](https://github.com/keithbowes/user-agent-switcher/zipball/master), a [tarball](https://github.com/keithbowes/user-agent-switcher/zipball/master), or directly from [Github](https://github.com/keithbowes/user-agent-switcher.git). -The current version should work in any Toolkit-based application using Gecko 1.9 or higher. It's been successfully tested in: -* [Firefox](https://www.mozilla.org/en-US/firefox/organizations/all/) 45.6.0 +## Works in + +The current version should work in any Toolkit-based application using [Gecko 1.9 or higher](https://developer.mozilla.org/en-US/docs/Mozilla/Gecko/Versions). It's been successfully tested in: + +* [Firefox](https://www.mozilla.org/en-US/firefox/organizations/all/) 45.7.0 * [Nightingale](http://getnightingale.com/all-versions.php) 1.12.1 +* [Pale Moon](http://www.palemoon.org/) 27.0.3 * [SeaMonkey](http://www.seamonkey-project.org/releases/) 2.46 -It should also work in [Flock](https://web.archive.org/web/20110325151017/http://www.flock.com/) 2.x, Firefox 3.0 or higher, Nightingale 1.8 or higher, SeaMonkey 2.0 or higher, versions 0.3 or higher of Nightingale's predecessor [Songbird](http://getsongbird.net/), and in other applications using Toolkit and Gecko 1.9 or higher, but these haven't been tested. +It should also work in [Flock](https://web.archive.org/web/20110325151017/http://www.flock.com/) 2.x, Firefox 3.0 or higher, Nightingale 1.8 or higher, Palemoon 2.0 or higher, SeaMonkey 2.0 or higher, versions 0.3 or higher of Nightingale's predecessor, [Songbird](http://getsongbird.net/), and in other applications using Toolkit and Gecko 1.9 or higher, but these haven't been tested. -[Older versions](https://addons.mozilla.org/addon/user-agent-switcher/versions/) [claim to support](blob/e8ddcbafcfc5caeac9c33bc787dd4328741df456/development/common_install.rdf) older 1.x and 2.x versions of Firefox and older 1.x versions of Flock. For SeaMonkey, 2.0 or higher is needed for it to function in a meaningful way (older versions claim to work in SeaMonkey 1.x, but they don't). +[Older versions](https://addons.mozilla.org/addon/user-agent-switcher/versions/) [claim to support](https://github.com/keithbowes/user-agent-switcher/blob/e8ddcbafcfc5caeac9c33bc787dd4328741df456/development/common_install.rdf) older 1.x and 2.x versions of Firefox and older 1.x versions of Flock. For SeaMonkey, 2.0 or higher is needed for it to function in a meaningful way (older versions claim to work in SeaMonkey 1.x, but they don't). Of course, I recommend you use a current version of a maintained application if possible, to avoid putting yourself at risk for exploits. Currently, such applications are Firefox and SeaMonkey. Flock and Songbird have been discontinued and shouldn't be used. -Announcements -------------- +## Plans -For announcements about the User Agent Switcher extension including news about beta releases and previews of upcoming versions follow: +Currently my planned releases are: -* [My blog](http://blog.chrispederick.com/) -* [Me on Twitter](http://twitter.com/chrispederick/) -* [Releases on GitHub](releases/) +* ~~0.8: My first release, separating it from the original. Maybe it should be 0.7.4, as there are no major changes, but just some annoyances I've had have been fixed (persistent settings, the name of the menu item stays the same, fix for Netflix not working with the Tech Patterns list).~~ +* 0.8.1: Make this an extractionless, restartless extension. Self-signing will give way to signing from mozilla.org. No more English-only builds. +* 0.8.2: Store the user-agent strings in the preferences instead of as a file. The DOM will be built from the preferences rather than being read from the file. This should help with network and mobile profiles. +* 0.9: This should be a hybrid XPCOM/WebExtension in browsers that support it, or pure XPCOM in those that don't. Chris Pederick's list of issues and to-dos will be fixed in the WebExtensions and shared code. Not much might be different from 0.8.2 in the XPCOM code. +* 1.0: Completely separate XPCOM and WebExtension extensions. They might share the same tree or I might create a branch for the legacy extension. Doubtlessly other features and bug fixes. -Help ----- +## Help * [Help](http://chrispederick.com/work/user-agent-switcher/help/) -* [Known issues](issues/) +* [Known issues](https://github.com/keithbowes/user-agent-switcher/issues/) -Acknowledgements ----------------- +## Acknowledgements Supported by: * [BrowserStack](https://www.browserstack.com/) -Author ------- - -### Chris Pederick +## Authors -* [My website](http://chrispederick.com/) -* [My Twitter account](http://twitter.com/chrispederick/) +* [Chris Pederick](http://chrispederick.com/), 0.1–0.7.3 +* [Keith Bowes](http://github.com/keithbowes), 0.8–current -License -------- +## License All files are distributed for free under the terms of the -[GNU General Public License](http://www.gnu.org/licenses/gpl.txt). +[GNU General Public License](https://github.com/keithbowes/user-agent-switcher/license.txt). This does not apply to the icons included in the extension which have their own individual licenses.