Skip to content

Commit

Permalink
翻译脚本站点更新
Browse files Browse the repository at this point in the history
  • Loading branch information
defpt committed Mar 6, 2014
1 parent 6fbc266 commit 85630ad
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion Stylish/stylish0.5_edit.uc.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,9 @@

WindowHook.register("chrome://stylish/content/edit.xul",
function winhook(aWindow) {
var EDITOR_PATH = "D:\\Program Files\\Notepad2\\Notepad2.exe";

//var EDITOR_PATH = "D:\\Program Files\\Notepad2\\Notepad2.exe";//自用路径
var EDITOR_PATH = "";// 如果为空则为 about:config 中 view_source.editor.path,仅window下。
var isNewEditor = (Services.prefs.getIntPref('extensions.stylish.editor') === 0);
// get the checkbox
var checkbox = aWindow.document.getElementById("wrap-lines");
Expand Down
2 changes: 1 addition & 1 deletion Translator/gTranslator.uc.js
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ image="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXN
var cel = this._targetlang;
var httpRequest = null;

var baseUrl = "http://translate.google.de/translate_t";
var baseUrl = "http://translate.google.de/";
var urlParams = "text=" + encodeURIComponent(whatToTranslate) + "&hl=" + cel + "&langpair=auto|" + cel + "&tbb=1";

function removeHTMLTags(mitkell) {
Expand Down

0 comments on commit 85630ad

Please sign in to comment.