Your app can be rejected with this reason:
After you asked yourself why we are made responsible for what Apple's Webkit framework does, the question is: how to solve this?
The application accesses the following location(s):
The application may be
* creating files
* writing files
* opening files for Read/Write access (instead of Read-Only access)
in the above location(s).
Actually Apple has an article about this: How do I prevent my WebKit-enabled application from writing to the shared icon database?
And translating the code, it should be simply
dim u as NSUserDefaultsMBS = NSUserDefaultsMBS.standardUserDefaultsPut it somewhere in your startup code after plugin registration and before using a htmlviewer.