!!s;
+
+ # kill the "toolbox" at the bottom left
+ $content =~ s!
new_abs($1, $base));
+ while ( $content =~ m!url\((\")?(.+?)(\")?\)!mgi ) {
+ my $text = $2;
+
+ # skip it if it's nonrelative and goes somewhere else than aegisub.cellosoft.com
+ if ( $text =~ m!^http!i ) {
+ # actually fuck this there shouldn't be any nonrelative links in there anyway
+ next(LINKLIST)
+ #unless ( $text =~ m!^${quoted}!i );
+ }
+
+ push(@links, URI->new_abs($text, $base));
}
my $filename = convert_link($url);