Zum Inhalt springen
View in the app

A better way to browse. Learn more.

Fachinformatiker.de

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

PHP Auflösung am Monitor abfragen?

Empfohlene Antworten

Servus, Gruzi und Hallo

ist es mit php möglich die auflösung eines

monitors abzufragen und dann die passende Hintergrundgrafik zu laden. wenn ja, vielleicht kann jemand hier denn quellcode veröffentlichen.

thx for all

BlueScreen

Grundsätzlich nein, denn PHP wird auf dem Server ausgeführt. Und wenn der die Monitoreinstellung der Clients weiß, würde mich das schon sehr wundern smile.gif

Die einzige Möglichkeit ist AFAIK JavaScript, wobei man aber nie davon ausgehen kann das der Client das kann bzw. enabled hat.

Außerdem will man keinen passenden Hintergrund. Ich zumindest hätte keine Lust dafür von einer Webseite bestraft zu werden, das ich eine hohe Auflösung fahre (-> mehr Downloads da Bild größer).

Außerdem, wenn ich nicht Vollbild browse, sondern z.B. ein 812x599 Canvas habe, was willst du dann machen? Dynamisch ein neues Image erzeugen?

<BLOCKQUOTE><font size="1" face="Verdana, Arial, Helvetica">Zitat:</font><HR>Original erstellt von DevilDawn:

Dynamisch ein neues Image erzeugen?

<BLOCKQUOTE><font size="1" face="Verdana, Arial, Helvetica">Zitat:</font><HR>Original erstellt von lapso:

Warum nicht?

Macht doch spass *grins*

Archiv

Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.