orz
-
Posts
33 -
Joined
-
Last visited
Content Type
Profiles
Forums
Release Notes
Bug Tracker
Help page
Help page-CN
Release Note5
Rules and recruitment
Release Note6
Posts posted by orz
-
-
On 7/27/2016 at 10:26 PM, A.S. said:
Last wave of approving was 07/07. Almost 1 month ago!
What are you thinking about? Do you have so many loyal third-party developers?Mine is still in pending status after 2 weeks.
-
4 hours ago, 7twenty said:
I was (still am actually) having the same issue. Apparently they changed something on their backend.
I was asked to create a new account and all my data would be transferred... still waiting!?
not really. I can read Chinese so I logged in by extension.maxthon.cn
-
extension.maxthon.cn can login though. strange ...
-
4 hours ago, bayas said:
Don't use local html file like panel.$.htm
After the release of Maxthon 4.9.x, extension framework hasn't supported them. You must do it manually. For example;en.ini
[lang] app.title=Title app.description=Description
panel.htm
<!DOCTYPE HTML> <html lang="en-US"> <head> <meta charset="UTF-8"> <title data-lang="app.title">Title</title> </head> <body> <div data-lang="app.description">Description</div> </body> <script type="text/javascript" src="js/jquery.min.js"></script> <script> var rt = window.external.mxGetRuntime(); var i18n = rt.locale.t; jQuery(document).ready(function() { // localize. jQuery("[data-lang]").each(function(index, item) { var key = jQuery(this).attr("data-lang"); jQuery(this).text(i18n(key)); }); }); </script> </html>
hmm, my panel.html can retrieve the text from en.ini file. However if I have another html like blocked.html, after I redirect current tab to this local html file, then locale cannot take any text from en.ini.
-
That is good to know. Thanks a lot. I will try that out.
One more question :-). How can I access locale defined in en.ini file from a html defined in my extension? this local html is used for re-direction when a web url should be blocked. javascript embedded in that local html cannot load locale text from en.ini. Maybe I also missed something here?
-
I was trying to access http://extension.maxthon.com/ to submit my extension for review, however I cannot login with my maxthon passport. But I can login to my https://my.maxthon.cn/index.html As shown in the attched image.
Can you please help to check?
Thanks
-
Thanks. anyway I have tried a workaround, but that's not efficient and neat. Let us see whether Mx support or any extension developer will help.
-
anybody please?
-
14 minutes ago, bayas said:
Thanks a lot, that is what I am looking for.
1 hour ago, No.1MaxthonFan said:I would like to know the url before I submit the extension. bayas has helped to answer my question.
- 1
-
Hi,
I would like to know what will be the url of my extension after it would be approved? I need to put that url into my extension's code.
Thanks,
-
Hi, do we have any events to be used that I can do some update on my extension's panel html via javascript?
I have tried DOMContebtLoaded, onload, onpageshow, all of above are only called once the panel is created. Do we have other events to be triggered whenever I click the sidebar icon to display my panel?
Thanks
-
found the answer, the en.ini file format must be Unicode + BOM format.
-
OK, let me give it a try. Thanks
-
Hi Alex,
One question about usage of locale. I added an en.ini file, then in my javascripts, I do following:
var rt = window.external.mxGetRuntime();
var tt = rt.locale.t;
alert(tt("THE_KEY_NAME"));
but it does not work to resolve the value defined for THE_KEY_NAME in my en.ini
[lang]
THE_KEY_NAME=test nameCould you please help? I am not sure where is the incorrect part here
Thanks
-
Looks like that the link cannot be clicked directly. Have to manually prefix http://
I have a small extension written for Chrome, let me see how easy it is to port to Maxthon.
Cheers
-
OK, then there is more reason to wait for Mx 5. Thanks
-
I noticed that maxthon is or will use chrome core as its backbone, then shall it support extensions from chrome app store automatically?
Can anybody shed some light on it?
Thanks
How much time does extension approving take?
in Extensions
Posted
mine got approved today. Thanks! It seems complain does take effect.