A
Alont
original stringit's one line):
javascript:if(confirm('http://validator.w3.org/ \n\nThis file was not
retrieved by Teleport Pro, because it is addressed on a domain or path
outside the boundaries set for its Starting Address. \n\nDo you want
to open it from the server?'))window.location='
because 'http://validator.w3.org/' is variable, so I wrote:
javascript:if\(confirm\('(.*|(\\n)*) \\n\\nThis file was not
retrieved by Teleport Pro, because it is addressed on a domain or path
outside the boundaries set for its Starting Address\. \\n\\nDo you
want to open it from the server?'))window.location='
I have tried/change again and again,
but it can't match, why?
this is all the code:
sub deleteTrash {
my $original = "javascript:if\(confirm\('(.*|(\\n)*) \\n\\nThis file
was not retrieved by Teleport Pro, because it is addressed on a domain
or path outside the boundaries set for its Starting Address\.
\\n\\nDo you want to open it from the
server\?'\)\)window\.location='";
my $body = shift;
if($body =~ s/$original//g)
{
return 0;
}
else
{
return $body;
}
}
javascript:if(confirm('http://validator.w3.org/ \n\nThis file was not
retrieved by Teleport Pro, because it is addressed on a domain or path
outside the boundaries set for its Starting Address. \n\nDo you want
to open it from the server?'))window.location='
because 'http://validator.w3.org/' is variable, so I wrote:
javascript:if\(confirm\('(.*|(\\n)*) \\n\\nThis file was not
retrieved by Teleport Pro, because it is addressed on a domain or path
outside the boundaries set for its Starting Address\. \\n\\nDo you
want to open it from the server?'))window.location='
I have tried/change again and again,
but it can't match, why?
this is all the code:
sub deleteTrash {
my $original = "javascript:if\(confirm\('(.*|(\\n)*) \\n\\nThis file
was not retrieved by Teleport Pro, because it is addressed on a domain
or path outside the boundaries set for its Starting Address\.
\\n\\nDo you want to open it from the
server\?'\)\)window\.location='";
my $body = shift;
if($body =~ s/$original//g)
{
return 0;
}
else
{
return $body;
}
}