Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

Remember: use logout to logout.


devel / comp.lang.javascript / Re: Downscale browser content.

SubjectAuthor
* Downscale browser content.Jonas Thörnvall
+- Re: Downscale browser content.JJ
`* Re: Downscale browser content.Arno Welzel
 `* Re: Downscale browser content.Jonas Thörnvall
  `* Re: Downscale browser content.Arno Welzel
   +- Re: Downscale browser content.Jonas Thörnvall
   `* Re: Downscale browser content.Jonas Thörnvall
    `* Re: Downscale browser content.Jonas Thörnvall
     `* Re: Downscale browser content.Arno Welzel
      `* Re: Downscale browser content.Jonas Thörnvall
       +- Re: Downscale browser content.The Natural Philosopher
       `- Re: Downscale browser content.Arno Welzel

1
Downscale browser content.

<c63056e0-3a28-4055-99b4-f1d67b7f8febn@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=17137&group=comp.lang.javascript#17137

  copy link   Newsgroups: comp.lang.javascript
X-Received: by 2002:a05:622a:104:: with SMTP id u4mr15828178qtw.254.1624743535918;
Sat, 26 Jun 2021 14:38:55 -0700 (PDT)
X-Received: by 2002:a9d:8a3:: with SMTP id 32mr15486343otf.277.1624743535693;
Sat, 26 Jun 2021 14:38:55 -0700 (PDT)
Path: i2pn2.org!i2pn.org!paganini.bofh.team!usenet.pasdenom.info!usenet-fr.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.javascript
Date: Sat, 26 Jun 2021 14:38:55 -0700 (PDT)
Injection-Info: google-groups.googlegroups.com; posting-host=84.217.163.187; posting-account=kxPkPAoAAACjJi8w0gL9bnyznPzdw9HW
NNTP-Posting-Host: 84.217.163.187
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <c63056e0-3a28-4055-99b4-f1d67b7f8febn@googlegroups.com>
Subject: Downscale browser content.
From: jonas.thornvall@gmail.com (Jonas Thörnvall)
Injection-Date: Sat, 26 Jun 2021 21:38:55 +0000
Content-Type: text/plain; charset="UTF-8"
 by: Jonas Thörnvall - Sat, 26 Jun 2021 21:38 UTC

Other then a browser zoom is there any script or API that can downscale the full content of browser "all elements".

Re: Downscale browser content.

<1c80cfoe0xoon$.19c3dwkp6xhsu$.dlg@40tude.net>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=17138&group=comp.lang.javascript#17138

  copy link   Newsgroups: comp.lang.javascript
Path: i2pn2.org!i2pn.org!aioe.org!AwNAe4J5zRLIli//7AW+ZA.user.gioia.aioe.org.POSTED!not-for-mail
From: jj4public@gmail.com (JJ)
Newsgroups: comp.lang.javascript
Subject: Re: Downscale browser content.
Date: Sun, 27 Jun 2021 12:34:23 +0700
Organization: Aioe.org NNTP Server
Lines: 5
Message-ID: <1c80cfoe0xoon$.19c3dwkp6xhsu$.dlg@40tude.net>
References: <c63056e0-3a28-4055-99b4-f1d67b7f8febn@googlegroups.com>
NNTP-Posting-Host: AwNAe4J5zRLIli//7AW+ZA.user.gioia.aioe.org
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 8bit
X-Complaints-To: abuse@aioe.org
User-Agent: 40tude_Dialog/2.0.15.84
X-Bitcoin: 1LcqwCQBQmhcWfWsVEAeyLchkAY8ZfuMnS
X-Notice: Filtered by postfilter v. 0.9.2
X-Face: \*\`0(1j~VfYC>ebz[&O.]=,Nm\oRM{of,liRO#7Eqi4|!]!(Gs=Akgh{J)605>C9Air?pa d{sSZ09u+A7f<^paR"/NH_#<mE1S"hde\c6PZLUB[t/s5-+Iu5DSc?P0+4%,Hl
 by: JJ - Sun, 27 Jun 2021 05:34 UTC

On Sat, 26 Jun 2021 14:38:55 -0700 (PDT), Jonas Thörnvall wrote:
> Other then a browser zoom is there any script or API that can downscale
> the full content of browser "all elements".

`scale()` function of CSS's `transform` applied to `html` or `body`?

Re: Downscale browser content.

<ijqru2F9p58U1@mid.individual.net>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=17139&group=comp.lang.javascript#17139

  copy link   Newsgroups: comp.lang.javascript
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: usenet@arnowelzel.de (Arno Welzel)
Newsgroups: comp.lang.javascript
Subject: Re: Downscale browser content.
Date: Sun, 27 Jun 2021 10:41:38 +0200
Lines: 18
Message-ID: <ijqru2F9p58U1@mid.individual.net>
References: <c63056e0-3a28-4055-99b4-f1d67b7f8febn@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Trace: individual.net LDX/aLq3n92U551qcynM3gs5yxrNqYDok8gUkzTO5GbalhLVk8
Cancel-Lock: sha1:N+8gRg42XLjt49Ep05CmdZ+YYlQ=
In-Reply-To: <c63056e0-3a28-4055-99b4-f1d67b7f8febn@googlegroups.com>
 by: Arno Welzel - Sun, 27 Jun 2021 08:41 UTC

Jonas Thörnvall:

> Other then a browser zoom is there any script or API that can downscale the full content of browser "all elements".

You can use CSS transformations to scale the BODY element:

Also see:
<https://developer.mozilla.org/en-US/docs/Web/CSS/transform-function/scale()>

Example: <https://arnowelzel.de/samples/scale.html>

Howerver - "all elements" needs to be calculated using JavaScript. There
is no method to tell the browser "scale as much as needed to show all
elements within the current viewport".

--
Arno Welzel
https://arnowelzel.de

Re: Downscale browser content.

<6af8fbf3-d85b-4522-8e1d-428fcb9825ccn@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=17140&group=comp.lang.javascript#17140

  copy link   Newsgroups: comp.lang.javascript
X-Received: by 2002:ad4:4203:: with SMTP id k3mr12271455qvp.16.1624785434182;
Sun, 27 Jun 2021 02:17:14 -0700 (PDT)
X-Received: by 2002:a9d:74d6:: with SMTP id a22mr1127597otl.243.1624785433921;
Sun, 27 Jun 2021 02:17:13 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.javascript
Date: Sun, 27 Jun 2021 02:17:13 -0700 (PDT)
In-Reply-To: <ijqru2F9p58U1@mid.individual.net>
Injection-Info: google-groups.googlegroups.com; posting-host=84.217.163.187; posting-account=kxPkPAoAAACjJi8w0gL9bnyznPzdw9HW
NNTP-Posting-Host: 84.217.163.187
References: <c63056e0-3a28-4055-99b4-f1d67b7f8febn@googlegroups.com> <ijqru2F9p58U1@mid.individual.net>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <6af8fbf3-d85b-4522-8e1d-428fcb9825ccn@googlegroups.com>
Subject: Re: Downscale browser content.
From: jonas.thornvall@gmail.com (Jonas Thörnvall)
Injection-Date: Sun, 27 Jun 2021 09:17:14 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
 by: Jonas Thörnvall - Sun, 27 Jun 2021 09:17 UTC

söndag 27 juni 2021 kl. 10:41:45 UTC+2 skrev Arno Welzel:
> Jonas Thörnvall:
> > Other then a browser zoom is there any script or API that can downscale the full content of browser "all elements".
> You can use CSS transformations to scale the BODY element:
>
> Also see:
> <https://developer.mozilla.org/en-US/docs/Web/CSS/transform-function/scale()>
>
> Example: <https://arnowelzel.de/samples/scale.html " rel="nofollow" target="_blank">https://arnowelzel.de/samples/scale.html>
>
> Howerver - "all elements" needs to be calculated using JavaScript. There
> is no method to tell the browser "scale as much as needed to show all
> elements within the current viewport".
>
> --
> Arno Welzel
> https://arnowelzel.de
Do this also apply to forms and HTML?

Re: Downscale browser content.

<ijr85hFbso4U8@mid.individual.net>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=17141&group=comp.lang.javascript#17141

  copy link   Newsgroups: comp.lang.javascript
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: usenet@arnowelzel.de (Arno Welzel)
Newsgroups: comp.lang.javascript
Subject: Re: Downscale browser content.
Date: Sun, 27 Jun 2021 14:10:25 +0200
Lines: 27
Message-ID: <ijr85hFbso4U8@mid.individual.net>
References: <c63056e0-3a28-4055-99b4-f1d67b7f8febn@googlegroups.com>
<ijqru2F9p58U1@mid.individual.net>
<6af8fbf3-d85b-4522-8e1d-428fcb9825ccn@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Trace: individual.net PwJ6kxisoly2w6QRtwWNPAfRNyC08Q+ol8FsdLzNyfimDbgJC1
Cancel-Lock: sha1:Aq65d3SMdAmuk8BoTWIOXoyq/Y4=
In-Reply-To: <6af8fbf3-d85b-4522-8e1d-428fcb9825ccn@googlegroups.com>
 by: Arno Welzel - Sun, 27 Jun 2021 12:10 UTC

Jonas Thörnvall:

> söndag 27 juni 2021 kl. 10:41:45 UTC+2 skrev Arno Welzel:
>> Jonas Thörnvall:
>>> Other then a browser zoom is there any script or API that can downscale the full content of browser "all elements".
>> You can use CSS transformations to scale the BODY element:
>>
>> Also see:
>> <https://developer.mozilla.org/en-US/docs/Web/CSS/transform-function/scale()>
>>
>> Example: <https://arnowelzel.de/samples/scale.html>
>>
>> Howerver - "all elements" needs to be calculated using JavaScript. There
>> is no method to tell the browser "scale as much as needed to show all
>> elements within the current viewport".
[...]
> Do this also apply to forms and HTML?

Well - I talked about CSS and refer to an example in HTML.

Why don't you just try it on your own?

--
Arno Welzel
https://arnowelzel.de

Re: Downscale browser content.

<9041ba59-2d64-4ba5-a00f-22a312c3bb6en@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=17142&group=comp.lang.javascript#17142

  copy link   Newsgroups: comp.lang.javascript
X-Received: by 2002:a05:622a:104:: with SMTP id u4mr18453281qtw.254.1624807625485;
Sun, 27 Jun 2021 08:27:05 -0700 (PDT)
X-Received: by 2002:a9d:5e8b:: with SMTP id f11mr17860732otl.274.1624807625211;
Sun, 27 Jun 2021 08:27:05 -0700 (PDT)
Path: i2pn2.org!i2pn.org!paganini.bofh.team!usenet.pasdenom.info!usenet-fr.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.javascript
Date: Sun, 27 Jun 2021 08:27:04 -0700 (PDT)
In-Reply-To: <ijr85hFbso4U8@mid.individual.net>
Injection-Info: google-groups.googlegroups.com; posting-host=84.217.163.187; posting-account=kxPkPAoAAACjJi8w0gL9bnyznPzdw9HW
NNTP-Posting-Host: 84.217.163.187
References: <c63056e0-3a28-4055-99b4-f1d67b7f8febn@googlegroups.com>
<ijqru2F9p58U1@mid.individual.net> <6af8fbf3-d85b-4522-8e1d-428fcb9825ccn@googlegroups.com>
<ijr85hFbso4U8@mid.individual.net>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <9041ba59-2d64-4ba5-a00f-22a312c3bb6en@googlegroups.com>
Subject: Re: Downscale browser content.
From: jonas.thornvall@gmail.com (Jonas Thörnvall)
Injection-Date: Sun, 27 Jun 2021 15:27:05 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
 by: Jonas Thörnvall - Sun, 27 Jun 2021 15:27 UTC

söndag 27 juni 2021 kl. 14:10:33 UTC+2 skrev Arno Welzel:
> Jonas Thörnvall:
> > söndag 27 juni 2021 kl. 10:41:45 UTC+2 skrev Arno Welzel:
> >> Jonas Thörnvall:
> >>> Other then a browser zoom is there any script or API that can downscale the full content of browser "all elements".
> >> You can use CSS transformations to scale the BODY element:
> >>
> >> Also see:
> >> <https://developer.mozilla.org/en-US/docs/Web/CSS/transform-function/scale()>
> >>
> >> Example: <https://arnowelzel.de/samples/scale.html " rel="nofollow" target="_blank">https://arnowelzel.de/samples/scale.html>
> >>
> >> Howerver - "all elements" needs to be calculated using JavaScript. There
> >> is no method to tell the browser "scale as much as needed to show all
> >> elements within the current viewport".
> [...]
> > Do this also apply to forms and HTML?
> Well - I talked about CSS and refer to an example in HTML.
>
> Why don't you just try it on your own?
> --
> Arno Welzel
> https://arnowelzel.de
Well if it doesn't downscale forms it is not use to me.

Re: Downscale browser content.

<cd406f3f-5eb7-4258-82aa-ee827e4dabe2n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=17143&group=comp.lang.javascript#17143

  copy link   Newsgroups: comp.lang.javascript
X-Received: by 2002:a37:9504:: with SMTP id x4mr20638076qkd.235.1624807884126;
Sun, 27 Jun 2021 08:31:24 -0700 (PDT)
X-Received: by 2002:a9d:74d6:: with SMTP id a22mr2162465otl.243.1624807883897;
Sun, 27 Jun 2021 08:31:23 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.javascript
Date: Sun, 27 Jun 2021 08:31:23 -0700 (PDT)
In-Reply-To: <ijr85hFbso4U8@mid.individual.net>
Injection-Info: google-groups.googlegroups.com; posting-host=84.217.163.187; posting-account=kxPkPAoAAACjJi8w0gL9bnyznPzdw9HW
NNTP-Posting-Host: 84.217.163.187
References: <c63056e0-3a28-4055-99b4-f1d67b7f8febn@googlegroups.com>
<ijqru2F9p58U1@mid.individual.net> <6af8fbf3-d85b-4522-8e1d-428fcb9825ccn@googlegroups.com>
<ijr85hFbso4U8@mid.individual.net>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <cd406f3f-5eb7-4258-82aa-ee827e4dabe2n@googlegroups.com>
Subject: Re: Downscale browser content.
From: jonas.thornvall@gmail.com (Jonas Thörnvall)
Injection-Date: Sun, 27 Jun 2021 15:31:24 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
 by: Jonas Thörnvall - Sun, 27 Jun 2021 15:31 UTC

söndag 27 juni 2021 kl. 14:10:33 UTC+2 skrev Arno Welzel:
> Jonas Thörnvall:
> > söndag 27 juni 2021 kl. 10:41:45 UTC+2 skrev Arno Welzel:
> >> Jonas Thörnvall:
> >>> Other then a browser zoom is there any script or API that can downscale the full content of browser "all elements".
> >> You can use CSS transformations to scale the BODY element:
> >>
> >> Also see:
> >> <https://developer.mozilla.org/en-US/docs/Web/CSS/transform-function/scale()>
> >>
> >> Example: <https://arnowelzel.de/samples/scale.html " rel="nofollow" target="_blank">https://arnowelzel.de/samples/scale.html>
> >>
> >> Howerver - "all elements" needs to be calculated using JavaScript. There
> >> is no method to tell the browser "scale as much as needed to show all
> >> elements within the current viewport".
> [...]
> > Do this also apply to forms and HTML?
> Well - I talked about CSS and refer to an example in HTML.
>
> Why don't you just try it on your own?
> --
> Arno Welzel
> https://arnowelzel.de
It actually did, i will check it do all elements within the div even if canvas and other divs.

Re: Downscale browser content.

<08f42a2b-0d51-46b8-919f-40b1e3c67d88n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=17144&group=comp.lang.javascript#17144

  copy link   Newsgroups: comp.lang.javascript
X-Received: by 2002:a37:59c7:: with SMTP id n190mr20881838qkb.146.1624808417721;
Sun, 27 Jun 2021 08:40:17 -0700 (PDT)
X-Received: by 2002:a9d:8a3:: with SMTP id 32mr17914298otf.277.1624808417490;
Sun, 27 Jun 2021 08:40:17 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.javascript
Date: Sun, 27 Jun 2021 08:40:17 -0700 (PDT)
In-Reply-To: <cd406f3f-5eb7-4258-82aa-ee827e4dabe2n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=84.217.163.187; posting-account=kxPkPAoAAACjJi8w0gL9bnyznPzdw9HW
NNTP-Posting-Host: 84.217.163.187
References: <c63056e0-3a28-4055-99b4-f1d67b7f8febn@googlegroups.com>
<ijqru2F9p58U1@mid.individual.net> <6af8fbf3-d85b-4522-8e1d-428fcb9825ccn@googlegroups.com>
<ijr85hFbso4U8@mid.individual.net> <cd406f3f-5eb7-4258-82aa-ee827e4dabe2n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <08f42a2b-0d51-46b8-919f-40b1e3c67d88n@googlegroups.com>
Subject: Re: Downscale browser content.
From: jonas.thornvall@gmail.com (Jonas Thörnvall)
Injection-Date: Sun, 27 Jun 2021 15:40:17 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
 by: Jonas Thörnvall - Sun, 27 Jun 2021 15:40 UTC

söndag 27 juni 2021 kl. 17:31:28 UTC+2 skrev Jonas Thörnvall:
> söndag 27 juni 2021 kl. 14:10:33 UTC+2 skrev Arno Welzel:
> > Jonas Thörnvall:
> > > söndag 27 juni 2021 kl. 10:41:45 UTC+2 skrev Arno Welzel:
> > >> Jonas Thörnvall:
> > >>> Other then a browser zoom is there any script or API that can downscale the full content of browser "all elements".
> > >> You can use CSS transformations to scale the BODY element:
> > >>
> > >> Also see:
> > >> <https://developer.mozilla.org/en-US/docs/Web/CSS/transform-function/scale()>
> > >>
> > >> Example: <https://arnowelzel.de/samples/scale.html " rel="nofollow" target="_blank">https://arnowelzel.de/samples/scale.html>
> > >>
> > >> Howerver - "all elements" needs to be calculated using JavaScript. There
> > >> is no method to tell the browser "scale as much as needed to show all
> > >> elements within the current viewport".
> > [...]
> > > Do this also apply to forms and HTML?
> > Well - I talked about CSS and refer to an example in HTML.
> >
> > Why don't you just try it on your own?
> > --
> > Arno Welzel
> > https://arnowelzel.de
> It actually did, i will check it do all elements within the div even if canvas and other divs.
But it did not at least not without declare some div parent relationship? I just have to many elements divs forms canvas innerframes floating frame.
Thanks anyway.

Re: Downscale browser content.

<ijs9ikFia54U1@mid.individual.net>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=17147&group=comp.lang.javascript#17147

  copy link   Newsgroups: comp.lang.javascript
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: usenet@arnowelzel.de (Arno Welzel)
Newsgroups: comp.lang.javascript
Subject: Re: Downscale browser content.
Date: Sun, 27 Jun 2021 23:40:36 +0200
Lines: 47
Message-ID: <ijs9ikFia54U1@mid.individual.net>
References: <c63056e0-3a28-4055-99b4-f1d67b7f8febn@googlegroups.com>
<ijqru2F9p58U1@mid.individual.net>
<6af8fbf3-d85b-4522-8e1d-428fcb9825ccn@googlegroups.com>
<ijr85hFbso4U8@mid.individual.net>
<cd406f3f-5eb7-4258-82aa-ee827e4dabe2n@googlegroups.com>
<08f42a2b-0d51-46b8-919f-40b1e3c67d88n@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Trace: individual.net +PbuuQm2lI6B4VGLmpOTiA+jdJYNNmMzsQXeCTM0zW0BBiaU3V
Cancel-Lock: sha1:DY+UflIkzTT2LcYYYONonnu6c10=
In-Reply-To: <08f42a2b-0d51-46b8-919f-40b1e3c67d88n@googlegroups.com>
 by: Arno Welzel - Sun, 27 Jun 2021 21:40 UTC

Jonas Thörnvall:

> söndag 27 juni 2021 kl. 17:31:28 UTC+2 skrev Jonas Thörnvall:
>> söndag 27 juni 2021 kl. 14:10:33 UTC+2 skrev Arno Welzel:
>>> Jonas Thörnvall:
>>>> söndag 27 juni 2021 kl. 10:41:45 UTC+2 skrev Arno Welzel:
>>>>> Jonas Thörnvall:
>>>>>> Other then a browser zoom is there any script or API that can downscale the full content of browser "all elements".
>>>>> You can use CSS transformations to scale the BODY element:
>>>>>
>>>>> Also see:
>>>>> <https://developer.mozilla.org/en-US/docs/Web/CSS/transform-function/scale()>
>>>>>
>>>>> Example: <https://arnowelzel.de/samples/scale.html " rel="nofollow" target="_blank">https://arnowelzel.de/samples/scale.html>
>>>>>
>>>>> Howerver - "all elements" needs to be calculated using JavaScript. There
>>>>> is no method to tell the browser "scale as much as needed to show all
>>>>> elements within the current viewport".
>>> [...]
>>>> Do this also apply to forms and HTML?
>>> Well - I talked about CSS and refer to an example in HTML.
>>>
>>> Why don't you just try it on your own?
>>> --
>>> Arno Welzel
>>> https://arnowelzel.de
>> It actually did, i will check it do all elements within the div even if canvas and other divs.
> But it did not at least not without declare some div parent relationship? I just have to many elements divs forms canvas innerframes floating frame.
> Thanks anyway.

CSS scale transform of the HTML element will scale *everything* inside
the HTML. Otherwise this wouldn't make sense at all. Usually applying
this to BODY is suffficient as well.

Just learn how to use your browser and the web developer tools of it and
manually add the following CSS rule after you loaded a website:

html {
transform: scale(0.5);
}

This will scale *everything* to 50% of the original size - yes, also
canvas elements and forms inside the document.

--
Arno Welzel
https://arnowelzel.de

Re: Downscale browser content.

<e78ed659-4c1c-456b-8b8e-3705764353e3n@googlegroups.com>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=17148&group=comp.lang.javascript#17148

  copy link   Newsgroups: comp.lang.javascript
X-Received: by 2002:a05:6214:1c46:: with SMTP id if6mr22525015qvb.41.1624834914496;
Sun, 27 Jun 2021 16:01:54 -0700 (PDT)
X-Received: by 2002:aca:fd51:: with SMTP id b78mr6171891oii.177.1624834914195;
Sun, 27 Jun 2021 16:01:54 -0700 (PDT)
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.javascript
Date: Sun, 27 Jun 2021 16:01:53 -0700 (PDT)
In-Reply-To: <ijs9ikFia54U1@mid.individual.net>
Injection-Info: google-groups.googlegroups.com; posting-host=84.217.163.187; posting-account=kxPkPAoAAACjJi8w0gL9bnyznPzdw9HW
NNTP-Posting-Host: 84.217.163.187
References: <c63056e0-3a28-4055-99b4-f1d67b7f8febn@googlegroups.com>
<ijqru2F9p58U1@mid.individual.net> <6af8fbf3-d85b-4522-8e1d-428fcb9825ccn@googlegroups.com>
<ijr85hFbso4U8@mid.individual.net> <cd406f3f-5eb7-4258-82aa-ee827e4dabe2n@googlegroups.com>
<08f42a2b-0d51-46b8-919f-40b1e3c67d88n@googlegroups.com> <ijs9ikFia54U1@mid.individual.net>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <e78ed659-4c1c-456b-8b8e-3705764353e3n@googlegroups.com>
Subject: Re: Downscale browser content.
From: jonas.thornvall@gmail.com (Jonas Thörnvall)
Injection-Date: Sun, 27 Jun 2021 23:01:54 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
 by: Jonas Thörnvall - Sun, 27 Jun 2021 23:01 UTC

söndag 27 juni 2021 kl. 23:40:44 UTC+2 skrev Arno Welzel:
> Jonas Thörnvall:
>
> > söndag 27 juni 2021 kl. 17:31:28 UTC+2 skrev Jonas Thörnvall:
> >> söndag 27 juni 2021 kl. 14:10:33 UTC+2 skrev Arno Welzel:
> >>> Jonas Thörnvall:
> >>>> söndag 27 juni 2021 kl. 10:41:45 UTC+2 skrev Arno Welzel:
> >>>>> Jonas Thörnvall:
> >>>>>> Other then a browser zoom is there any script or API that can downscale the full content of browser "all elements".
> >>>>> You can use CSS transformations to scale the BODY element:
> >>>>>
> >>>>> Also see:
> >>>>> <https://developer.mozilla.org/en-US/docs/Web/CSS/transform-function/scale()>
> >>>>>
> >>>>> Example: <https://arnowelzel.de/samples/scale.html " rel="nofollow" target="_blank">https://arnowelzel.de/samples/scale.html>
> >>>>>
> >>>>> Howerver - "all elements" needs to be calculated using JavaScript. There
> >>>>> is no method to tell the browser "scale as much as needed to show all
> >>>>> elements within the current viewport".
> >>> [...]
> >>>> Do this also apply to forms and HTML?
> >>> Well - I talked about CSS and refer to an example in HTML.
> >>>
> >>> Why don't you just try it on your own?
> >>> --
> >>> Arno Welzel
> >>> https://arnowelzel.de
> >> It actually did, i will check it do all elements within the div even if canvas and other divs.
> > But it did not at least not without declare some div parent relationship? I just have to many elements divs forms canvas innerframes floating frame.
> > Thanks anyway.
> CSS scale transform of the HTML element will scale *everything* inside
> the HTML. Otherwise this wouldn't make sense at all. Usually applying
> this to BODY is suffficient as well.
>
> Just learn how to use your browser and the web developer tools of it and
> manually add the following CSS rule after you loaded a website:
>
> html {
> transform: scale(0.5);
> }
>
> This will scale *everything* to 50% of the original size - yes, also
> canvas elements and forms inside the document.
> --
> Arno Welzel
> https://arnowelzel.de

Great! best effort of today.
Thank you Arno, this will come in handy, i sized everything for 1920*1080, but there probably still people with laptops who want 1320*768.
I already have the code for decide size, now i just must make the CSS value dynamic!

Thanks Again Arno!

Re: Downscale browser content.

<sbcb1a$lrq$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=17150&group=comp.lang.javascript#17150

  copy link   Newsgroups: comp.lang.javascript
Path: i2pn2.org!i2pn.org!eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail
From: tnp@invalid.invalid (The Natural Philosopher)
Newsgroups: comp.lang.javascript
Subject: Re: Downscale browser content.
Date: Mon, 28 Jun 2021 12:15:53 +0100
Organization: A little, after lunch
Lines: 16
Message-ID: <sbcb1a$lrq$1@dont-email.me>
References: <c63056e0-3a28-4055-99b4-f1d67b7f8febn@googlegroups.com>
<ijqru2F9p58U1@mid.individual.net>
<6af8fbf3-d85b-4522-8e1d-428fcb9825ccn@googlegroups.com>
<ijr85hFbso4U8@mid.individual.net>
<cd406f3f-5eb7-4258-82aa-ee827e4dabe2n@googlegroups.com>
<08f42a2b-0d51-46b8-919f-40b1e3c67d88n@googlegroups.com>
<ijs9ikFia54U1@mid.individual.net>
<e78ed659-4c1c-456b-8b8e-3705764353e3n@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 28 Jun 2021 11:15:54 -0000 (UTC)
Injection-Info: reader02.eternal-september.org; posting-host="424ec61d92be78393745ea871620e134";
logging-data="22394"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19ls1VU51UYtrUYkM40pK8/lLNFYyhq1fE="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101
Thunderbird/60.6.1
Cancel-Lock: sha1:FZsCv7+ovIH7L4nIa7Ntm4xhNiU=
In-Reply-To: <e78ed659-4c1c-456b-8b8e-3705764353e3n@googlegroups.com>
Content-Language: en-GB
 by: The Natural Philosop - Mon, 28 Jun 2021 11:15 UTC

On 28/06/2021 00:01, Jonas Thörnvall wrote:
i sized everything for 1920*1080, but there probably still people with
laptops who want 1320*768.
> I already have the code for decide size, now i just must make the CSS value dynamic!

look at window.screen.width and window.screen.height to find out what
the users screen size is.
>

--
"Anyone who believes that the laws of physics are mere social
conventions is invited to try transgressing those conventions from the
windows of my apartment. (I live on the twenty-first floor.) "

Alan Sokal

Re: Downscale browser content.

<ijtut3Fs09nU1@mid.individual.net>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=17151&group=comp.lang.javascript#17151

  copy link   Newsgroups: comp.lang.javascript
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: usenet@arnowelzel.de (Arno Welzel)
Newsgroups: comp.lang.javascript
Subject: Re: Downscale browser content.
Date: Mon, 28 Jun 2021 14:50:43 +0200
Lines: 29
Message-ID: <ijtut3Fs09nU1@mid.individual.net>
References: <c63056e0-3a28-4055-99b4-f1d67b7f8febn@googlegroups.com>
<ijqru2F9p58U1@mid.individual.net>
<6af8fbf3-d85b-4522-8e1d-428fcb9825ccn@googlegroups.com>
<ijr85hFbso4U8@mid.individual.net>
<cd406f3f-5eb7-4258-82aa-ee827e4dabe2n@googlegroups.com>
<08f42a2b-0d51-46b8-919f-40b1e3c67d88n@googlegroups.com>
<ijs9ikFia54U1@mid.individual.net>
<e78ed659-4c1c-456b-8b8e-3705764353e3n@googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Trace: individual.net IV6dq66JPy9DvIOO/mHYsg/8W7aCs/iaH9WWQlKe/j8chCDt78
Cancel-Lock: sha1:MXqWtg/10xzy1QhylkBzx0yUchY=
In-Reply-To: <e78ed659-4c1c-456b-8b8e-3705764353e3n@googlegroups.com>
 by: Arno Welzel - Mon, 28 Jun 2021 12:50 UTC

Jonas Thörnvall:

> söndag 27 juni 2021 kl. 23:40:44 UTC+2 skrev Arno Welzel:
[...]
>> Just learn how to use your browser and the web developer tools of it and
>> manually add the following CSS rule after you loaded a website:
>>
>> html {
>> transform: scale(0.5);
>> }
>>
>> This will scale *everything* to 50% of the original size - yes, also
>> canvas elements and forms inside the document.
>
> Great! best effort of today.
> Thank you Arno, this will come in handy, i sized everything for 1920*1080, but there probably still people with laptops who want 1320*768.
> I already have the code for decide size, now i just must make the CSS value dynamic!
>
> Thanks Again Arno!

Another thin: keep in mind, that the viewport itself will not be scaled,
just the content inside. So you might need additional code to reduce the
size of the viewport as well or set a fixed scroll offset to position
the content correctly inside the browser window.

--
Arno Welzel
https://arnowelzel.de


devel / comp.lang.javascript / Re: Downscale browser content.

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor