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.

Wie erkenne ich, ob mein Applet auf einer fremden Webseite eingebunden ist?

Empfohlene Antworten

Veröffentlicht

Hallo Zusammen,

kann mir jemand sagen, wie mein Applet erkennen kann, wenn es auf einer fremden Webseite eingebunden ist?

getCodeBase() ist ja hilfreich, und verwende ich auch schon, aber woran kann ich erkennen, dass es nicht sogar von meinem Server geladen wird?

Mit <param name="codebase" value="pfad_zu_meiner_webseite/"> lässt sich ja so ein Applet normal von jedem Server aus einbetten...

Ich selbst verwende diesen Parameter auch, um Stress mit einigen Webbrowsern zu vermeiden.

Gibt es da eine Möglichkeit, dass das Applet auch erkennt, dass die HTML bzw. PHP Seite, in die es eingebunden ist, nicht auf meinem Server liegt?

Erstelle ein Konto oder melde dich an, um einen Kommentar zu schreiben.

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.