rejetto forum

Something about "Dual-core browser" support (and correction)

0 Members and 1 Guest are viewing this topic.

Offline NaitLee

  • Tireless poster
  • ****
    • Posts: 101
  • Computer brained boy
    • View Profile
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.
« Last Edit: September 05, 2020, 02:44:10 PM by NaitLee »
Busy in school until late June, 2021.
My HFS template will not be frequently updated during this period.


Offline LeoNeeson

  • Tireless poster
  • ****
    • Posts: 720
  • Status: On hiatus (sporadically here)
    • View Profile
    • twitter.com/LeoNeeson
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 text). Saying dual-core, 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, 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.-
HFS in Spanish (HFS en Español) / How to compile HFS (Tutorial)
» Currently taking a break, until HFS v2.4 get his stable version.


Offline danny

  • Tireless poster
  • ****
    • Posts: 192
    • View Profile
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.