Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Safari Pop-Up #244

Closed
tonycoco opened this issue Oct 16, 2014 · 18 comments
Closed

Safari Pop-Up #244

tonycoco opened this issue Oct 16, 2014 · 18 comments
Assignees
Labels

Comments

@tonycoco
Copy link

Safari blocks the pop-up for the bookmarklet... any fixes other than turning that feature off in the preferences?

@devinrhode2
Copy link

I'm also unable to use the ember inspector in safari 8 on yosemite, are you also on yosemite?

@btecu
Copy link

btecu commented Jan 22, 2015

It would be nice if we could get native Safari extension.

@tonycoco
Copy link
Author

I tried a bunch of options, but it will take some work, since Safari blocks IFRAME talk and their extension window API is terrible. I was trying to use the bookmarklet code and manipulate it to basically load in an injected div on the page if an Ember app was detected. But, I'll need to look at more options. One option is to embed the Ember Inspector app directly inside the extension. But that will require frequent updates.

@joostdevries
Copy link

@tonycoco while not developed for this UC, you could also use the remote-inspector addon if you're working on an Ember CLI app. It works with websockets and allows the inspector to be openend in another window or even browser.

@tonycoco
Copy link
Author

Yeah, I've used that with success. Track the Safari/WebKit Web Inspector bug here I just created a new one - https://bugs.webkit.org/show_bug.cgi?id=140816

@tonycoco
Copy link
Author

Looks like they're making progress on something for Safari on the Webkit Issue tracker. I'll try to update this thread with any information.

@teddyzeenny
Copy link
Contributor

Thanks @tonycoco!

@locks
Copy link
Contributor

locks commented Jul 28, 2016

Any resolution on this, @teddyzeenny @tonycoco ?

@tonycoco
Copy link
Author

Not yet @locks. The WebKit bug was never resolved but there was talk of a developer extension API

@RobbieTheWagner
Copy link
Member

Where does this stand now? Does anyone use Ember Inspector in Safari with success?

@tonycoco
Copy link
Author

WebKit team hasn't started implementation of an API yet. No progress.

@RobbieTheWagner
Copy link
Member

I'm going to attempt to work on a native Safari extension. Apple does not make this easy at all. Does anyone have experience with Safari extension development? I've loosely been following http://frontendbabel.info/articles/developing-cross-browser-extensions/ and https://github.com/kritollm/chrome-extension-api-for-safari-and-firefox but both are pretty old.

@RobbieTheWagner
Copy link
Member

This is the branch I started https://github.com/emberjs/ember-inspector/tree/safari-extension

@devinrhode2
Copy link

devinrhode2 commented Sep 28, 2018 via email

@devinrhode2
Copy link

devinrhode2 commented Sep 28, 2018 via email

@RobbieTheWagner
Copy link
Member

At the moment, Safari lacks the necessary support for implementing Inspector there. We think the level of effort is not worth it at the moment, but may revisit in the future.

@devinrhode2
Copy link

devinrhode2 commented Nov 2, 2018 via email

@RobbieTheWagner
Copy link
Member

@devinrhode2 if you have a specific Safari implementation in mind, you are welcome to take a stab at it, but Safari extensions are a huge mess.

The current plan is to do like React and Vue are doing and make a standalone app for anything other than Chrome and Firefox.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

7 participants