Quellcode durchsuchen

update builder

Signed-off-by: Gerald <[email protected]>
Gerald vor 11 Jahren
Ursprung
Commit
919f6f00ea
2 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen
  1. 1 1
      src/injected.js
  2. 1 1
      src/options.html

+ 1 - 1
src/injected.js

@@ -362,7 +362,7 @@ var comm={
 			comm.forEach(Object.getOwnPropertyNames(w),function(i){r.push(i+'=g["'+i+'"]');});
 			if(r.length) code.push('var '+r.join(',')+';delete g;with(this)!function(){');
 			for(i=0;i<req.length;i++) if(r=require[req[i]]) code.push(r);
-			code.push('\n!function(){'+c.code+'\n}.call(this)');	// to make 'use strict' work
+			code.push('!function(){'+c.code+'\n}.call(this)');	// to make 'use strict' work
 			code.push('}.call(this);');code=code.join('\n');
 			i=c.custom.name||c.meta.name||c.id;
 			if(o.injectMode==1) {	// advanced injection

+ 1 - 1
src/options.html

@@ -62,7 +62,7 @@
 				<div id=tabAbout class=hide>
 					<h1 data-i18n=labelAbout></h1>
 					<p data-i18n=extDescription></p>
-					<p><label data-i18n=labelRelated></label><span data-i18n=anchorSupportPage></span> | <a href=http://geraldl.net/donate target=_blank data-i18n=labelDonate></a> | <a href=https://github.com/gera2ld/Violentmonkey/issues target=_blank data-i18n=labelFeedback></a></p>
+					<p><label data-i18n=labelRelated></label><span data-i18n=anchorSupportPage></span> | <a href=http://geraldl.net/donate target=_blank data-i18n=labelDonate></a> | <a href=https://github.com/gera2ld/Violentmonkey/issues target=_blank data-i18n=labelFeedback></a> | <a href=http://cotrans.geraldl.net target=_blank>Help with translation<i class="fa fa-language"></i></a></p>
 					<p><label data-i18n=labelAuthor></label><span data-i18n=anchorAuthor></span></p>
 					<p><label data-i18n=labelTranslator></label><span data-i18n=anchorTranslator></span></p>
 				</div>