Sha256: 43f39b96d59b3ddf0092be39c468f5ed85405facc60d0959f5975d135a2a5b0a

Contents?: true

Size: 612 Bytes

Versions: 6

Compression:

Stored size: 612 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
##
# Version 0.2
# removed :probability
##
WhatWeb::Plugin.define "HTML5" do
  @author = "Andrew Horton"
  @version = "0.2"
  @description = "HTML version 5, detected by the doctype declaration"

  # Matches #
  @matches = [

    { regexp: /<!DOCTYPE html>/i },
    { string: "applicationCache", regexp: /<html[^>]* manifest=/ },

  ]
end

Version data entries

6 entries across 6 versions & 1 rubygems

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