rejetto forum

Software => HFS ~ HTTP File Server => HTML & templates => Topic started by: NaitLee on July 15, 2020, 07:53:34 AM

Title: Something about "Dual-core browser" support (and correction)
Post by: NaitLee on July 15, 2020, 07:53:34 AM
Have you ever heard about a "dual-core browser"? Templates of HFS may be shown with a broken interface in them.

They have two browser cores for users to switch: Webkit (Chrome, new) and Trident (Internet Explorer, old).
Can be seen mostly in China. For example, 360 Safe browser, 2345 Browser, QQ Browser, Sogou Hi-speed browser, UC Browser, etc.

In this way some old websites will be displayed correctly. Eg. Mini-game (Flash) sites, old-fashioned bank sites or other sites that use ActiveX.
But most of these browsers make Trident (IE) their default core, caused many problems.
Especially sites hosted for personal sharing use, have no records in these browsers, being displayed with IE core, and broken.
More severe in OS with older IE version (as Windows 7 and lower).

To solve such problems, we need to add some meta tags in HTML head:

Code: [Select]
<!doctype html>
<html>

<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
    <!-- Below 3 metas makes so-called dual-core browsers (360 Safe Browser, etc.)
        use Webkit to render the page by default -->
<meta name="renderer" content="webkit" />
<meta http-equiv="X-UA-Compatible" content="ie=edge,chrome=1" />
<meta name="force-rendering" content="webkit" />
<title>{.!TitleText.}</title>
<!-- ... -->
</head>

<body>
<!-- ... -->
</body>

</html>

By testing in a virtual machine, (I don't want to pollute my computer)
    this seems only works in a few amount of these browsers.
Except using old-old coding standard, anyway to solve these tough problems? ???



P.S. I just suffered enough from these browsers, as well as other old-fashioned computer-related anti-humanity things existing around me.
Title: Re: Something about "Dual-core browser" support (and correction)
Post by: LeoNeeson on July 18, 2020, 06:30:21 AM
Have you ever heard about a "dual-core browser"?
This is new for me! :o I already heard about Maxthon a long time ago (it used IE engine). I think the term "dual-core browser" is confusing, since it should be called "dual-engine browser" since it uses two web browser engines (according to this (https://topic.alibabacloud.com/a/what-are-the-dual-core-browsers_8_8_10160618.html) text). Saying dual-core (https://techterms.com/definition/dualcore), gives the impression that the browser is using two processors to display the page. I think it must be a 'marketing' term.

Can be seen mostly in China. For example, 360 Safe browser, 2345 Browser, QQ Browser, Sogou Hi-speed browser, UC Browser, etc.
Interesting. I personally recommend you Otter Browser (https://otter-browser.org/), since it's a modern HTML5 browser, that is currently still being developed and mantained, and it even works on old systems using Windows XP. :) Of course, it also works on the latest Windows 10 too.

Cheers,
Leo.-
Title: Re: Something about "Dual-core browser" support (and correction)
Post by: danny on July 28, 2020, 04:42:22 AM
Except using old-old coding standard, anyway to solve these tough problems?
You could change doctype to XHTML transitional.  And, also close a few tags for compatibility. 
After that, if anything causes breakage is was: the client's javascript is too old.  For that problem, you can put an else message:  Please update browser.

Edit (forgot to mention): 
You can do style = old way ; newer way ; newest way
In that order. 
So, if 'newest way' was rejected, then fallback can catch it. 
Title: Re: Something about "Dual-core browser" support (and correction)
Post by: LeoNeeson on January 05, 2021, 09:35:04 AM
P.S. I just suffered enough from these browsers, as well as other old-fashioned computer-related anti-humanity things existing around me.
I totally agree and understand your frustration. Since years, every big browser were fighting (https://en.wikipedia.org/wiki/Browser_wars) each other instead of collaborating on making a truly compatible web world (and Chrome is currently winning (https://gs.statcounter.com/browser-market-share#monthly-202010-202012-map) this battle since several years). Sadly, we are now seeing the consequences of those actions (consequences of having a Chrome monopoly, and Firefox it's the responsible (https://uxdesign.cc/mozilla-firefox-google-chrome-monopoly-microsoft-internet-explorer-edge-netscape-navigator-56727b258f54) of this). I've read here (https://qz.com/1930645/what-happens-to-google-if-regulators-force-it-to-sell-off-chrome/) that some people suggests that Google should sell Chrome, but IMHO that's not the solution.

And from the end-users perspective, I think we are totally loosing this game, since the entirely web is going soon to be only compatible with Chrome. Someone can blame developers (to not make the web compatible), but behind this effort it's the entirely IT industry (https://en.wikipedia.org/wiki/Information_technology#Commercial_and_employment_perspective) (namely, the "tech sector" or "tech industry").

Personally, I'm happy when I recommend "normal" users (like friends and family) an alternative browser, but lately it's harder and harder to find an alternative that work with most websites. But never feel alone, I'm sure there are several users on your same situation (including myself, since I still use old and not so-old computers and mobile devices). Anyone here is free to share his own experiences and leave a comment on which other browser works best, besides anything NOT based on the Chromium engine (https://es.wikipedia.org/wiki/Blink).

Cheers,
Leo.-