You need to clean the corresponding db files in / Library / Safari / Databases and / Library / Safari / LocalStorage
Open Finder on your Mac and press GO and Go to Folder and paste the two locations above.
Delete the files with the names of the applications whose data you want to clear.
Subbu source share