bayas

Members
  • Posts

    53
  • Joined

  • Last visited

  • Days Won

    8

bayas last won the day on March 1 2018

bayas had the most liked content!

2 Followers

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

bayas's Achievements

Freshman

Freshman (1/10)

31

Reputation

  1. I just want to inform about this problem. I can wait for stable Maxhon 5.3.8.x version. Old Stylish extension has a background service. I attached the mxaddon file. Stylish.mxaddon
  2. Maxthon backround services that you provided us in Extension API do not work anymore since Maxthon 5.3.8.x versions. There is a workaround for this annoying problem to force Maxthon Browser to run these extensions. So, every time I open the Maxthon Browser and then re-install them from *.mxaddon file.
  3. @Jubilar is right. If I try to open a link from QA, extensions don't work but otherwise they work. The reason of this problem is probably preventing the script's execution on pc-newtab.maxthon.com.
  4. Hi Mx Devs, You have probably added exceptions for some websites (youtube, twitter, facebook, maxthon etc.). My some extensions and user-scripts do not work anymore on them. You've blocked the script's injection or execution on some web pages. Is this your new policy or is it a unnoticed update? I will continue to stay in Maxthon v5.1.6.1000 version as long as these restrictions continue. If these restrictions are permanent, I will stop using Maxthon. Thanks.
  5. Hi @vladimer08 I wrote the following style for you. You can edit the scale value and aspect ratios what you need. @media screen and (device-aspect-ratio: 3440/1440) { .player[data-isfullscreen="true"] video { transform: scale(1.345) !important; -moz-transform: scale(1.345) !important; -ms-transform: scale(1.345) !important; -webkit-transform: scale(1.345) !important; } } @media screen and (device-aspect-ratio: 1920/1080) { .player[data-isfullscreen="true"] video { transform: scale(1.333) !important; -moz-transform: scale(1.333) !important; -ms-transform: scale(1.333) !important; -webkit-transform: scale(1.333) !important; } } @media screen and (device-aspect-ratio: 1024/768) { .player[data-isfullscreen="true"] video { transform: scale(1) !important; -moz-transform: scale(1) !important; -ms-transform: scale(1) !important; -webkit-transform: scale(1) !important; } }
  6. You're welcome, I'm glad I was able to help. Actually you don't need media query starts with "@media..", you can only use inner style code. If you want to use your style in different devices, then update it like below. You may need to adjust scale amounts for each resolution. @media screen and (device-aspect-ratio: 3440/1440) { .html5-video-player.ytp-fullscreen video { -webkit-transform: scale(1.345) !important; } } @media screen and (device-aspect-ratio: 1920/1080) { .html5-video-player.ytp-fullscreen video { -webkit-transform: scale(1.333) !important; } } @media screen and (device-aspect-ratio: 1024/768) { .html5-video-player.ytp-fullscreen video { -webkit-transform: scale(1) !important; } }
  7. Hi, @nTrophy You don't have to wait any extension for this feature. Install Stylish extension and then add the following style. @media screen and (device-aspect-ratio: 21/9) { .html5-video-player.ytp-fullscreen video { -webkit-transform: scaleX(1.33) !important; } } Here is a screenshot how to do. Don't forget to add youtube's domain in "Rules" section.
  8. Some of UserScripts are not suitable to port for Maxthon addons. They sometimes request some dependencies or API calls (like GM_* stuffs). And they also have their update mechanism. Here is the reason why ViolentMonkey is the essential to do that. You cannot maintain this extension even If you get a help.
  9. bayas

    BS Detector

    No need to port of that extension. If you want to use it, follow these instructions: Install Violentmonkey on your Maxthon Browser. And then click this link. Violentmonkey will install for you.
  10. Actually, extension's page script does not show up in the content scripts section.
  11. Hello Maxthon, Some features of extension that I realized are not supported anymore in this core (Chrome 55). Do you think you are going to resolve them in the official release. - I cannot inspect the page script of extension in the "Content Scripts" section. - "mx.app.runtime.AppAction.activate()" does not work anymore. (Showing Panel from the page script). It was the most important thing that makes Maxthon a better Browser as compared to other chrome-based Browsers.
  12. You can only send or receive a message from one action (toolbar script) to another (page script) or vice versa. For example; Toolbar script: var mxRuntime = window.external.mxGetRuntime(); function getMessageFromPage(obj) { console.log('message: ' + obj); } mxRuntime.listen('messageFromPage', getMessageFromPage); var button = document.getElementsByTagName("button")[0]; button.onclick = function(e) { mxRuntime.post('messageFromToolbar', 'Hi from Toolbar!'); } Page script: var mxRuntime = window.external.mxGetRuntime(); function getMessageFromToolbar(obj) { console.log('message: ' + obj); } mxRuntime.listen('messageFromToolbar', getMessageFromToolbar); mxRuntime.post('messageFromPage', 'Hi from Page Script!');
  13. In javascript environment, If your variable is not a boolean, every value of variable represents true except "0" string, undefined or null value. You must compare storage value to what you need. var mxRuntime = window.external.mxGetRuntime(), mxStorage = mxRuntime.storage, mxTabs = mxRuntime.create('mx.browser.tabs'); var activate = mxStorage.getConfig('openTab') == 'true'; mxTabs.newTab({ url: url, activate: activate, position:"afterCurrrent" });
  14. @Galileusz I've read it before. I wanted to say: it should be packaged alongside the zip format to be able to install this extension more easily.
  15. I fixed some bugs, now all beatufiers works for styles and sources. ViewPage3.0.2.mxaddon