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 from anyone using your code. 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
debugbooleanDetermines whether the debug messages in the browser’s JavaScript console will be printed or not.false
affcodestringDefines an affiliation code for SiteCheck promotion and monetization.false
widthintegerSets the width of the widget container. The element’s size inside the box will be calculated automatically.300
heightintegerSets the height of the widget container. This can be an integer indicating pixels or auto.auto
positionstringSet a specific fixed position on 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
ptopintegerSets the margin from the top of the screen where the widget should be positioned.10
pleftintegerSets the margin from the left of the screen where the widget should be positioned.10
pbottomintegerSets the margin from the bottom of the screen where the widget should be positioned.10
prightintegerSets the margin from the right of the screen where the widget should be positioned.10
paddingintegerSets the padding width of the container inside the main container box, where the text and form are rendered.10
bwidthintegerDefines the width of the border around the widget. It can be removed using the value 0.3
bcolorhexdecA hexadecimal value representing a color to use in the border around the widget.#333
bradiusintegerSets the value for the border-radius of the widget. It can be removed using the value 06
backgroundhexdecSets a background color of the widget. You can use either a hexadecimal value representing a color or an image URL. If you are using an image, you can also specify the repetition property and positioning.#d7d7d7
colorhexdecSets the color of the text inside the widget container as well as the title, description and credits.#333
Was this article helpful to you?