"Fossies" - the Fresh Open Source Software Archive

Member "WhatWeb-0.5.5/plugins/addthis.rb" (15 Jan 2021, 633 Bytes) of package /linux/www/WhatWeb-0.5.5.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Ruby source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file.

    1 ##
    2 # This file is part of WhatWeb and may be subject to
    3 # redistribution and commercial restrictions. Please see the WhatWeb
    4 # web site for more information on licensing and terms of use.
    5 # https://www.morningstarsecurity.com/research/whatweb
    6 ##
    7 Plugin.define do
    8 name "AddThis"
    9 authors [
   10   "Brendan Coles <bcoles@gmail.com>", # 2011-04-15
   11 ]
   12 version "0.1"
   13 description "AddThis is a free way to boost traffic back to your site by making it easier for visitors to share your content."
   14 website "http://www.addthis.com/"
   15 
   16 
   17 
   18 # Matches #
   19 matches [
   20 
   21 # JavaScript Source
   22 { :regexp=>/<script [^>]*src=["|'][^>]*addthis\.com\/js/i },
   23 
   24 ]
   25 
   26 end
   27 
   28