Revision: 9337
          
http://languagetool.svn.sourceforge.net/languagetool/?rev=9337&view=rev
Author:   gulp21-1
Date:     2013-02-09 10:56:55 +0000 (Sat, 09 Feb 2013)
Log Message:
-----------
[extension] add "useragent=languagetoolfx" to the request

Modified Paths:
--------------
    trunk/extension/firefox/lib/main.js

Modified: trunk/extension/firefox/lib/main.js
===================================================================
--- trunk/extension/firefox/lib/main.js 2013-02-08 23:14:49 UTC (rev 9336)
+++ trunk/extension/firefox/lib/main.js 2013-02-09 10:56:55 UTC (rev 9337)
@@ -190,7 +190,7 @@
                mothertongue="&motherTongue="+simpleprefs.prefs.mothertongue;
        }
        
-       var 
contentString="language="+simpleprefs.prefs.language+mothertongue+autodetect+"&text="+encodeURIComponent(selectedTextProcessed);
+       var 
contentString="useragent=languagetoolfx&language="+simpleprefs.prefs.language+mothertongue+autodetect+"&text="+encodeURIComponent(selectedTextProcessed);
        var originalContentStringLength=contentString.length;
        
        var checkTextOnline=Request({

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013 
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
_______________________________________________
Languagetool-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/languagetool-commits

Reply via email to