An open community 
of Macintosh users,
for Macintosh users.

FineTunedMac Dashboard widget now available! Download Here

Topic Options
#17751 - 10/02/11 12:51 AM AdBlock For Safari Heads-up!!!
artie505 Online


Registered: 08/04/09
This happened the other night when I d/l'ed and ran the Safari WebKit Nightly Build, and it's also happened once or twice before (under circumstances that I can't recall specifically, but that dealt with Safari installations)...

When I installed the Nightly Build, something caused my AdBlock For Safari database in /Users/Your short name/Library/Safari/LocalStorage to become corrupt.

If you, like I, have spent considerable time and effort configuring your AdBlock database so Websites you regularly visit render in a fashion that pleases to you I most emphatically recommend that you keep a current backup of /Users/Your short name/Library/Safari/LocalStorage against, so to speak, the fall of night.

The first time I encountered this issue it took me hours to recreate the browsing experience I had created for myself and lost.

I filed a bug report with Apple many months ago, but nothing seems to have come of it. Additionally, AdBlock's developer has disclaimed knowledge/responsibility.
_________________________
The new Great Equalizer is the SEND button.

In Memory Of Harv: Those who can make you believe absurdities can make you commit atrocities. ~Voltaire

Top
#17761 - 10/02/11 02:30 AM Re: AdBlock For Safari Heads-up!!! [Re: artie505]
dkmarsh Offline
Moderator

Registered: 08/04/09

I take it you don't use Time Machine?
_________________________

dkmarsh • member, FineTunedMac Co-op Board of Directors

Top
#17763 - 10/02/11 02:42 AM Re: AdBlock For Safari Heads-up!!! [Re: dkmarsh]
artie505 Online


Registered: 08/04/09
Originally Posted By: dkmarsh
I take it you don't use Time Machine?

Nor did I even remember that it exists when I posted.

On the other hand, though, wouldn't it be easier to maintain a backup in the same folder as the original than to go the Time Machine route to recover from a "disaster?"

And, of course, there are any number of Mac users besides me who don't use Time Machine.
_________________________
The new Great Equalizer is the SEND button.

In Memory Of Harv: Those who can make you believe absurdities can make you commit atrocities. ~Voltaire

Top
#17767 - 10/02/11 04:13 AM Re: AdBlock For Safari Heads-up!!! [Re: artie505]
jchuzi Online


Registered: 08/04/09
Loc: New York State
If you make it a practice to manually back up that folder, I suppose that that's easy, but Time Machine makes it effortless. I have, once or twice, used TM to revert to a previous version of a file and it's quite painless. I also maintain a SuperDuper clone but TM is worth the trouble to set up. After that, you don't have to do anything except let it run.
_________________________
Jon

OS 10.14.6, iMac Retina 5K 27-inch, late 2014, 3.5 GHz Intel Core i5, 1 TB fusion drive, 16 GB RAM, Epson SureColor P600, Photoshop CC, Lightroom CC, MS Office 365

Top
#17772 - 10/02/11 10:15 AM Re: AdBlock For Safari Heads-up!!! [Re: jchuzi]
artie505 Online


Registered: 08/04/09
I'm going to respond to your post by retroactively restating my response to dk to anticipate it...

My intention was not to discuss backup strategies; it was to point out that there may be an innocuous, well-hidden file on your Mac in which you, without particularly realizing it, have invested a large amount of time and effort and that is subject to some unpredictable corruptive force, and that even if your backup strategy is "I don't need a backup strategy," that one file may be your mind-changer.
_________________________
The new Great Equalizer is the SEND button.

In Memory Of Harv: Those who can make you believe absurdities can make you commit atrocities. ~Voltaire

Top
#17827 - 10/03/11 11:04 AM Re: AdBlock For Safari Heads-up!!! [Re: artie505]
Kevin M. Dean Offline


Registered: 08/04/09
Loc: Florida
This also affected me with other extensions and I didn't really make much headway with my bug report. However once you upgrade and recreate preferences, they work from that point forward.

I had problems with the following extensions: User CSS, Ninjakit & Better Facebook where it was causing the same LocalStorage corruption.

You can read up on my conclusions here:
Webkit Bug Report


Edited by Kevin M. Dean (10/03/11 11:07 AM)
_________________________
iMac 2.7 GHz Core i5, 12 GB RAM, OS X 10.9, Int SATA 1 TB, Ext Fire 2 TB / 1 TB / 1 TB / 500 GB / 300 GB
Former MacFixIt Forums member since 11/17/99
www.rhubarbproductions.com

Top
#17836 - 10/03/11 12:07 PM Re: AdBlock For Safari Heads-up!!! [Re: Kevin M. Dean]
artie505 Online


Registered: 08/04/09
> This also affected me with other extensions and I didn't really make much headway with my bug report. However once you upgrade and recreate preferences, they work from that point forward.

I, too, filed a bug report, but I was pretty much at a loss when it came to describing precisely what the bug was or how to reproduce it.

The problem is recreating those prefs (AdBlock's, anyhow); I've got an enormous amount of time invested in mine, and the one time I had to recreate them (before I learned to back up) was a real hair-puller.
_________________________
The new Great Equalizer is the SEND button.

In Memory Of Harv: Those who can make you believe absurdities can make you commit atrocities. ~Voltaire

Top
#17841 - 10/03/11 12:49 PM Re: AdBlock For Safari Heads-up!!! [Re: artie505]
Kevin M. Dean Offline


Registered: 08/04/09
Loc: Florida
In this case backups only help with reverting, but not with moving forward because even the backups would corrupt once they're used by the new version.

I ended up copy / pasting any text that I could from my extension settings into a text file and then took screen shots of any settings screens to re-create them all.

I don't use AdBlock so I don't know how complicated it settings are for re-creating in that manner.

Frankly I don't use AdBlock and other extensions like it because I haven't found one yet that doesn't decrease the loading performance of the browser.
_________________________
iMac 2.7 GHz Core i5, 12 GB RAM, OS X 10.9, Int SATA 1 TB, Ext Fire 2 TB / 1 TB / 1 TB / 500 GB / 300 GB
Former MacFixIt Forums member since 11/17/99
www.rhubarbproductions.com

Top
#17857 - 10/04/11 12:56 AM Re: AdBlock For Safari Heads-up!!! [Re: Kevin M. Dean]
artie505 Online


Registered: 08/04/09
Originally Posted By: Kevin M. Dean
In this case backups only help with reverting, but not with moving forward because even the backups would corrupt once they're used by the new version.

I ended up copy / pasting any text that I could from my extension settings into a text file and then took screen shots of any settings screens to re-create them all.

I don't use AdBlock so I don't know how complicated it settings are for re-creating in that manner.

Frankly I don't use AdBlock and other extensions like it because I haven't found one yet that doesn't decrease the loading performance of the browser.

My issue with AdBlock appears to have been different than what you've experienced; replacing its corrupted database with my backup has invariably resolved my issue with no down-the-road consequences. (Edit:The issue did recur when I was experimenting with WebKit, but only when I got into four process mode and killed two of them; I guess it was the bouncing that caused it.)

AdBlock's settings can be easily recreated using your methodology, but are a real nuisance to recreate from scratch if you use it as I do... Early on, I discovered that AdBlock is a misnomer...that it should be called ElementBlock, because it can block any element of an html page, up to and including the entire page.

Accordingly, I've used AB to block any and all eye-candy on all the Websites I visit regularly, sometimes effortlessly , sometimes with much trouble, the FTM logo at the top of the Forums List page (effortlessly), by way of example.

And if I take a slight loading hit as a result of using AB, it's both unnoticeable to me and preferable to seeing the extraneous garbage (No! Not the FTM logo.) with which many Websites greet me.


Edited by artie505 (10/04/11 04:10 AM)
_________________________
The new Great Equalizer is the SEND button.

In Memory Of Harv: Those who can make you believe absurdities can make you commit atrocities. ~Voltaire

Top

Moderator:  alternaut, dianne, MacManiac