Porting a Chrome extension to Safari

Hi, I run the converter my chrome exrension to a safari extension. I'm trying to pass the device data like the MacAddress of the device and IP address of my device to background.js in my chrome extension. How do I do that?

I've tried several ways but I can't get it to work. Please help me,

Porting a Chrome extension to Safari
 
 
Q