Sha256: 353ba111b2966932a4ad9db59188ebe41ff326f2555eb6bd2265fbd56b890ec8

Contents?: true

Size: 766 Bytes

Versions: 6

Compression:

Stored size: 766 Bytes

Contents

# frozen_string_literal: true

##
# This file is part of WhatWeb and may be subject to
# redistribution and commercial restrictions. Please see the WhatWeb
# web site for more information on licensing and terms of use.
# http://www.morningstarsecurity.com/research/whatweb
##
WhatWeb::Plugin.define "Facebook-Plugin" do
  @author = "Brendan Coles <bcoles@gmail.com>" # 2011-03-06
  @version = "0.1"
  @description = "This plugin identifies Facebook plugins"
  @website = "http://apps.facebook.com/widgets/"
  # More Info: http://developers.facebook.com/docs/plugins

  # Matches #
  @matches = [

    # Widget Detection # Iframe version
    { string: /<i?frame[^>]+src[\s]*="http:\/\/(www|apps)\.facebook.com\/plugins\/([^\.^\/^\?]+)\.php\?/i, offset: 1 },

  ]
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
simple_whatweb-0.4.1 lib/whatweb/plugins/facebook-plugin.rb
simple_whatweb-0.4.0 lib/whatweb/plugins/facebook-plugin.rb
simple_whatweb-0.3.0 lib/whatweb/plugins/facebook-plugin.rb
simple_whatweb-0.2.1 lib/whatweb/plugins/facebook-plugin.rb
simple_whatweb-0.2.0 lib/whatweb/plugins/facebook-plugin.rb
simple_whatweb-0.1.0 lib/whatweb/plugins/facebook-plugin.rb