From 0342b7bdc941b5c1311e9cc68a386a880118939c Mon Sep 17 00:00:00 2001 From: mp3geek Date: Fri, 26 Aug 2011 21:36:11 +1200 Subject: [PATCH] fix opera-date date --- docs/Sorting/sorter.pl | 2 +- opera/urlfilter.ini | 10 ++++------ scripts/addChecksum-opera.pl | 2 +- 3 files changed, 6 insertions(+), 8 deletions(-) diff --git a/docs/Sorting/sorter.pl b/docs/Sorting/sorter.pl index 53bbdb4b1..76c631f35 100644 --- a/docs/Sorting/sorter.pl +++ b/docs/Sorting/sorter.pl @@ -39,7 +39,7 @@ my $current = []; # Check "!", "[]" and "#" (Firefox and Opera) # while ( <$fh> ) { - if ( m/^(?:[!\[]|#\s)/ ) { + if ( m/^(?:[!\[]|#;\s)/ ) { output $current, $fhout; $current = [ $_ ]; } diff --git a/opera/urlfilter.ini b/opera/urlfilter.ini index b68ed38d1..4ee878fb0 100644 --- a/opera/urlfilter.ini +++ b/opera/urlfilter.ini @@ -1,16 +1,14 @@ ; Fanboy's Adblock list (Opera) -; Checksum: Mr5so6qUEbA8pxNSf/mWJQ +; Checksum: dUrIfSv3tR9LpUFS0gputw +; Updated: 26 Aug 2011 ; -; -; -; Email: fanboyadblock@googlegroups.com Project homepage: http://fanboy.co.nz/ -; License: http://creativecommons.org/licenses/by/3.0/ ; Linux: ~/.opera/ ; OSX: /Users//Library/Preferences/Opera Preferences/ ; save this urlfilter.ini file into, -; Updated: 14 Aug 2011 +; ; Vista: C:\Users\\AppData\Roaming\Opera\Opera\ ; XP: C:\Documents and Settings\...\Application Data\Opera\Opera\ +; [prefs] prioritize excludelist=1 [include] diff --git a/scripts/addChecksum-opera.pl b/scripts/addChecksum-opera.pl index 7c140773e..cea0f28c2 100644 --- a/scripts/addChecksum-opera.pl +++ b/scripts/addChecksum-opera.pl @@ -65,7 +65,7 @@ my @months = qw(Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec); my ($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) = localtime(); $year += 1900; # Year is years since 1900. my $todaysdate = "$mday $months[$mon] $year"; -$data =~ s/(^.*#.*Updated:\s*)(.*)\s*$/$1$todaysdate/gmi; +$data =~ s/(^.*;.*Updated:\s*)(.*)\s*$/$1$todaysdate/gmi; # Recalculate the checksum as we've altered the date. $checksumData = $data;