This PR has two things, which are totally unrelated:
Fixes Firefox. Now, a warning will come up that asks people to add an exception for this site. This was happening because Firefox was blocking the first request of 'https://connect.facebook.net/en_US/sdk.js' and uBlock origin in chrome allows that request but blocks future requests to the send to messenger plugin. Now both of these cases are handled correctly.
Your FB Sender ID is now stored in config.js in /etc/searchneu. No longer hard coded everywhere.
Also changed over the loading of environmental variables to sync from async, to make different pieces of the code cleaner.
and deleted some unused code - we can add it back when completing the sign up feature
This PR has two things, which are totally unrelated:
Your FB Sender ID is now stored in config.js in /etc/searchneu. No longer hard coded everywhere.
Also changed over the loading of environmental variables to sync from async, to make different pieces of the code cleaner.
and deleted some unused code - we can add it back when completing the sign up feature