Currently the data flag storage is mapped using windowId and tabId.
Instead of this it should be based on URL like :
hostname for Hostname with port and http scheme
hostname+path for path also.
While setup, the app should specify which value should be used to map data.
{
root: 'hostname', // or 'hostname+path'
}