Netscan Widget

Intro

With the Netscan Widget you can embed right into your support product the results from a scan. The only thing you have to do is copy-paste our code snippet and provide a scan Id, we'll take care of the rest.

How to use

Load the widget using the code below.

<div id="netscan-embed" data-scan-id="XXXXX"></div>

<script>(function(d, s, id) {
  var js, fjs = d.getElementsByTagName(s)[0];
  if (d.getElementById(id)) return;
  js = d.createElement(s); js.id = id;
  js.src = 'https://s3.amazonaws.com/sdk.netscan.co/netscan-widget/inject.min.js';
  fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'netscan-inject'));</script>

Configuration

  • data-scan-id String The scan id of the scan to display.

Example

Let's assume we want to show the result of this scan result: https://www.netscan.co/r/TRap8.

Its id, as we can see from the url is TRap8.

So, our code becomes:

<div id="netscan-embed" data-scan-id="TRap8"></div>

And the rendered result:

widget