If I unpack/unzip a Safari extension I create, where can I find the code I wrote? I see extension.js and background.js files but they are both empty. As an example http://crossrider.com/download/safari...
I need this to help debug an issue I'm having.
Thanks!
Help get this topic noticed by sharing it on
Twitter,
Facebook, or email.
Twitter,
Facebook, or email.
-
Hello Jim,
With Safari, the installer does not contain your custom code but is downloaded on first run. -
-
Hi Shlomo,
Ah that makes sense and helps a ton, glad I'm not going crazy ;)
Thanks! -
-
Hi Shlomo,
I have a follow up question for you if you get a second.
When I make updates to my extension, they do not show up on Safari no matter what I do (clear cache, reinstall, restart browser, etc.). So either Safari is somehow caching my extension, or when Crossrider sends the code down to my extension it's sending down an older cached version.
I want to verify this by seeing what code is sent to Safari. I tried sniffing it using Charles HTTP but it seems to be encrypted.
So my question is, how can I view the code being sent to Safari to help me determine if the caching issue is on Safari's side or Crossrider's side? Do you have any tricks to do this?
Thanks! -
-
I resolved my issue in case anyone else is curious. Apparently as part of the most recent Apple updates some browser files get cached on iCloud. When I was clearing Safari's cache locally I don't think it was clearing the iCloud cache. To clear that cache in Safari I had to choose the Safari menu and choose Clear History and Website Data.
-
Thanks for sharing!
-
-
-
-
Loading Profile...




EMPLOYEE
