×

Give a tip

Maxthon cannot show some Canvas effects


Recommended Posts

BugSir007 replied at 2014-11-16 23:26 back.gif

Hi guys,

Thank you for reporting this issue.

I can confirm the same problem here on my end. Selectin ...

What is the reason for this problem?

I mean, Maxthon already have a high HTML5 score, so shouldn't it be able to support anything that others support?

Tip   Give
Link to comment
Share on other sites

Console returns these errors:rKL4wUv.gif Unable to get image data from canvas because the canvas has been tainted by cross-origin data.

rKL4wUv.gif Uncaught SecurityError: An attempt was made to break through the security policy of the user agent.

It makes it look like it's complaining about cross-origin resource sharing, but the problem isn't exactly there. It's the SVG images that the script tries to draw on canvas, Maxthon doesn't seem to support that.

Tip   Give
Link to comment
Share on other sites

BugSir007 replied at 2014-11-17 18:19 back.gif

I just conducted an HTML5 test with the current version and it seem that WebGL 2 3D graphics are not ...

I've found another website that causes problems. Maybe it's the same problem?

Here it is:

http://us.battle.net/heroes/en/media/

For some reason, it keeps refreshing for me, and sometimes shows an error page.

Tip   Give
Link to comment
Share on other sites

BugSir007 replied at 2014-11-18 18:52 back.gif

Hi again,

I just opened the page you provided and it seems to be stable. No refresh problems are occ ...

Here's what I see (attached) .

It keeps refreshing till it fails.

If I want, I can scroll a bit, but the refreshing will occur soon afterwards.

Video_2014-11-19_185537.7z

Tip   Give
Link to comment
Share on other sites

UFO106 replied at 2014-11-19 08:57 back.gif

Here's what I see (attached) .

It keeps refreshing till it fails.

Thank for the video.

I can see the refresh problem in the video.

But this is odd. here on my end the page doesn't refresh at all, it is stable.

Not quite sure what might be causing this problem.

I can see the you are downloading something....Can you disable everything that may be causing this issue and try again.

First i suggest you clear your browser cookies and caches files.

Secondly, you may log out your Maxthon account and try to open the page again.

Thanks

Tip   Give
Link to comment
Share on other sites

BugSir007 replied at 2014-11-19 18:12 back.gif

Thank for the video.

I can see the refresh problem in the video.

But this is odd. here on my end t ...

Can't I just go to "private" mode?

it happens there too, even when not downloading anything...

Not only that, but it also makes maxthon to steal focus when it shows the last page (the error page)...

Tip   Give
Link to comment
Share on other sites

UFO106 replied at 2014-11-20 16:13 back.gif

Can't I just go to "private" mode?

it happens there too, even when not downloading anything...

Hi again,

Here we kept testing on different machines with different OS but still the problem can't be reproduce.

The issue might be due to some corrupted files in your browser.

You may run a clean install of the latest version and try again.

Please let us know if the problem persists.

Have a nice day!

Tip   Give
Link to comment
Share on other sites

Also, I've found another website :

http://romannurik.github.io/AndroidAssetStudio/icons-generic.html#source.type=clipart&source.space.trim=0&source.space.pad=0&source.clipart=res%2Fclipart%2Ficons%2Fnavigation_more_vert.svg&size=24&padding=8&color=33b5e5%2C100&name=ic_navigation_more_vert

choose an icon, and set some configurations, and then choose to download.

It doesn't allow to download.

This time, this button worked in the past, and now it doesn't. It also doesn't show a preview.

Tip   Give
Link to comment
Share on other sites

I narrowed the javascript down to show you where problem occurs:

http://kek.2fh.co/test/svgcanvas.htmcanvasimage.src=canvaselement.toDataURL('image/png')

rKL4wUv.gif SecurityError: An attempt was made to break through the security policy of the user agent.

The code is supposed to first draw an SVG image onto the canvas and then render the canvas back into an image. Chrome and Firefox can do it fine, but Maxthon and IE throw a CORS error.

Tip   Give
Link to comment
Share on other sites

UFO106 replied at 2014-11-21 19:26 back.gif

How should I perform clean installation?

I wish to at least have the passwords I've used, and also ...

Test with the portable version. Download, extract to a test folder and run.

If it works fine then you can deal with doing a "clean" install and selecting data to keep etc.

If it still doesn't work then it's not related to your data, but something else within Maxthon.

Tip   Give
Link to comment
Share on other sites

7twenty replied at 2014-11-21 15:35 back.gif

Test with the portable version. Download, extract to a test folder and run.

If it works fine then ...

Good idea.

I've done it, and it worked.

So I've tried to disable some addons, and only GreaseMonkey seems to caused it.

Then I've found out that "Linkify Plus" script caused this issue.

Is there an alternative to this script, or maybe an updated version of it (I have 2.0.1) ?

I've now installed this one:

https://greasyfork.org/en/scripts/2709-linkify-plus

Seems it doesn't cause this problem, but I wonder how good it is.

Tip   Give
Link to comment
Share on other sites

UFO106 replied at 2014-11-23 05:17 back.gif

Good idea.

I've done it, and it worked.

So I've tried to disable some addons, and only GreaseMonke ...

Great news.

Although, I don't use GreaseMonkey and I have the same issue?

Doesn't affect me at all, but would be interesting to find out why that is the case.

Tip   Give
Link to comment
Share on other sites

BugSir007 replied at 2014-11-23 17:52 back.gif

The download seems to be working fine for me.

I jsut downloaded the zip file after doing some sett ...

This time , the issue occurs even on Maxthon portable.

Maybe you didn't test it right?

I've attached a video here, showing what to do.

Note that in the video, I can't see the preview of the images, and I also can't download the file.

The video also shows that it doesn't occur on Chromium.

Here it is:

10541

Video_2014-11-24_222614.7z

Tip   Give
Link to comment
Share on other sites

 Share