Added many checks for more special characters.
Now storing to local storage with the site name as the key, so retrieval will be based on site's hostname.