1. Home
  2. Docs
  3. Plugins
  4. SiteCheck Widget

SiteCheck Widget

Want to add the SiteCheck scanner to your site? Do you want to allow your visitors to check their own sites to see if they have been compromised? The Sitecheck widget allows just that. If you are an affiliate, you can add your affiliate code in the widget generator and make a 25% commission if anyone ever signs up through it. If you are not an affiliate, you can sign up to become one here.

Examples

CLEAN

Preview

Source

<div id="sucuri-sitecheck" data-background="none" data-padding="0" data-bwidth="0" data-bradius="0"></div>
<script src="https://sucuri.net/sucuri-sitecheck-widget.js?1555376152"></script>

DEFAULT

Preview

Source

<div id="sucuri-sitecheck"></div>
<script type="text/javascript" src="//sucuri.net/sucuri-sitecheck-widget.js?1555363842"></script>

DARKNESS

Preview

Source

<div id="sucuri-sitecheck" data-width="317" data-background="url(https://kb.sucuri.net/uploads/sitecheck-widget-example-darkness.jpg)" data-color="#fff" data-padding="30" data-bwidth="0"></div>
<script type="text/javascript" src="//sucuri.net/sucuri-sitecheck-widget.js?1555363842"></script>

ACQUA

Preview

Source

<div id="sucuri-sitecheck" data-width="317" data-background="url(https://kb.sucuri.net/uploads/sitecheck-widget-example-aqua.jpg)" data-color="#fff" data-padding="30" data-bwidth="0"></div>
<script type="text/javascript" src="//sucuri.net/sucuri-sitecheck-widget.js?1555363842"></script>

RUSTIC

Preview

Source

<div id="sucuri-sitecheck" data-width="317" data-background="url(https://kb.sucuri.net/uploads/sitecheck-widget-example-rustic.jpg)" data-color="#fff" data-padding="30" data-bwidth="0"></div>
<script type="text/javascript" src="//sucuri.net/sucuri-sitecheck-widget.js?1555363842"></script>

CHRISTMAS

Preview

Source

<div id="sucuri-sitecheck" data-width="317" data-background="url(https://kb.sucuri.net/uploads/sitecheck-widget-example-christmas.jpg) no-repeat -1px -158px" data-color="#fff" data-padding="30" data-bwidth="0"></div>
<script type="text/javascript" src="//sucuri.net/sucuri-sitecheck-widget.js?1555363842"></script>

Customize


Settings

You can customize the design of the widget using these options, they will override the default values set by the widget’s JavaScript code. To use these options you will need to add attributes to the widget container like this data-{option_name}.

OptionTypeDescriptionDefault
debugbooleanWhether the debug messages in the browser’s JavaScript console will be printed or not.false
affcodestringAn affiliation code for SiteCheck promotion and monetization.false
widthintegerSet the width of the widget container, element’s size inside the box will be calculated automatically.300
heightintegerSet the height of the widget container, can be an integer indicating pixels or auto.auto
positionstringSet a specific fixed position in the screen, valid values are: top-left, top-right, bottom-left, button-right, none. If this attribute is not passed the default position will be relative to the position of the container identifier.none
ptopintegerSet the margin from the top of the screen where the widget should be positioned.10
pleftintegerSet the margin from the left of the screen where the widget should be positioned.10
pbottomintegerSet the margin from the bottom of the screen where the widget should be positioned.10
prightintegerSet the margin from the right of the screen where the widget should be positioned.10
paddingintegerPadding width of the container inside the main container box (where the text and form are rendered).10
bwidthintegerWidth of the border around the widget. It can be removed using the value 0.3
bcolorhexdecHexadecimal value representing a color to use in the border around the widget.#333
bradiusintegerSet the value for the border-radius of the widget. It can be removed using the value 06
backgroundhexdecBackground color of the widget, you can use whether a hexadecimal value representing a color or an URL to an image, in the last case you can also specify the repetition property and positioning.#d7d7d7
colorhexdecColor of the text inside the widget container (title, description, credits).#333
Was this article helpful to you?