NAME

Plack::Middleware::DoCoMoGUID::HTMLStickyQuery - added guid=ON to html content link.

SYNOPSIS

use Plack::Builder;

builder {
    enable_if { $_[0]->{HTTP_USER_AGENT} =~ /DoCoMo/i } 'DoCoMoGUID::HTMLStickyQuery';
};

or add check param

use Plack::Builder;

builder {
    enable_if { $_[0]->{HTTP_USER_AGENT} =~ /DoCoMo/i } 'DoCoMoGUID::HTMLStickyQuery' params => +{ 'foo' => 'bar' };
};

this will also append foo parameter to link or form.

DESCRIPTION

Plack::Middleware::DoCoMoGUID::HTMLStickyQuery filter html content and added guid=ON parameter to all relative link or form action using HTML::StickyQuery::DoCoMoGUID.

AUTHOR

Keiji Yoshimi <walf443 at gmail dot com>

SEE ALSO

+<HTML::StickyQuery::DoCoMoGUID>, +<Plack::Middleware>

LICENSE

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.