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.

Java Script

Empfohlene Antworten

Problem: ein Java Script zur autoconfiguration von Proxy Servern in Web Browsern. Script:

function FindProxyFor URL(url, host);

{

if (isPlainhost name (host) | |

dnsDomainIs(host, "domain") | |

dnsDomainIs(host, "domain")

return "DIRECT";

else

return "PROXY name tongue.gifort; DIRECT";

nun bringt er folgende Fehlermeldung: missing { before function body: function FindProxyForURL

Ich hoffe, mir kann jemand helfen !!

Mit freundlichem Gruß

Toady

Und warum machst du 2x diesselbe Abfrage?

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

dnsDomainIs(host, "domain") | |

dnsDomainIs(host, "domain")

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

Und warum machst du 2x diesselbe Abfrage?

dnsDomainIs(host, "domain") | |

dnsDomainIs(host, "domain")

???

du vergleichst doch 2 Identische Parameter wie kann dann da was unterschiedliches drinnstehen?

Oder wird durch den Aufruf der dnsDomainIs function ein Parameter geändert?

Bin etwas verwirrt ...

in der ersten anweisung steht meinetwegen:

dnsDomainIs(host, ".bmw.de") | |

und in der zweiten:

dnsDomainIs(host, ".audi.de");

das sind dann die hosts, für die kein proxy verwendet werden sollen.

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.