The Web Widget is a JavaScript that you can embed in any web page to display Omnilert alerts. This makes your website into a destination for alerts by just embedding one line of code any (optionally) adding a little CSS to the web source.
By default, the Omnilert will serve the script from an HTTP (non-secure) address.
What if your website uses HTTPS? Users would get warnings about "mixed content" and that's not good.
The answer is simple: Just change the "http" in the script URL to "https".
For example:
Original Script:
The original script serves the Widget via normal HTTP, with no SSL.
HTTPS version:
If our website needs HTTPS, just change the "http" in the original JavaScript URL to "https" as shown below:
Note: The script code above uses SAMPLE web addresses as the widget. Use your own Web Widget code from the OmnilertWidget configuration in the Endpoints screen.
Comments
0 comments
Article is closed for comments.