I have a Chrome extension which uses a library called gmail.js which is sort of dependent on the window.GLOBALS object from the Gmail window however in the new UI of gmail, Gmail seems to have removed the GLOBALS which is equal to null now, Now I have no way to access the data that was present inside the GLOBALS object, I have searched, looked and tried everything but do not seem to have an alternative to GLOBALS object
The GLOBALS is still available on the old Gmail UI
And is null in new Gmail UI
Without this I cannot know vital information like whether the email is in conversation view and so on
Why was this removed? Is there an alternative?