How does Honey IOS Safari extension change url without permission? - safari

When you turn on Honey IOS Safari Extension:
It automatically transitions to this page:
My questions is two folded
How does honey change URL before user even giving access to the extension's content script?
How did they get the "Review" button to appear in the top of the screen (second image).

Related

Is it possible to save a web page for one tap access on Apple watch?

I have a simple web page with a button that turns a light on and off via Raspberry Pi.
On Samsung watch 4 I can save the page as a bookmark and add it as a tile to my watch.
Is there no way to do this on Apple watch? I can text the link and access it on the Apple but cannot figure out how to save it

For tab panel iconCls is not working on Android

I have created tab panel and I have used iconCls property to show different icons on tab buttons. This works fine on chrome browser on desktop and on safari on iPad. But these icon images are not displaying on andorid tab, instead it displays blank square.
Inspect the element in chrome and also look at the console log. If you are debugging, then it may work in the web browser but will tell you what error has occurred.
Otherwise, make sure your stylesheet is linked correctly in android and try using the default iconCls classes to see if those work. If you are creating a custom one and not using sass, then you probably are not linking the actual icon file correctly.
Otherwise, provide the code for the tab buttons your custom css if you are using any.

iOS - Add menu item to Safari "Open with"

I'm new to iOS development - How do I create a Safari extension that adds a new item to the "Open with" menu (the same menu where I can bookmark the page)? I'd like to share the page URL that the user is currently viewing with a third-party app.
Thanks
Assuming you are using Xcode, go to your project settings, then choose your target. In the Info tab, you would add a Document Type which will associate it (doc, xls, txt, etc) with your application. If you open the item in safari, you will be presented with an option to open it in your app. In recent versions of mobile safari, I believe a bar appears at the top of the document presenting you with this option as opposed to appearing in the 'Add Bookmark' popover.
Here is some detailed information.

How to create "Theme Apps" for iPhone (3G, 3GS, 4S) Using xcode without jailbraking?

I need to develop one application for iPhone which is named as "Theme Apps"
My requirement is like this :
This is a simple iPhone App that allows the user to press the "app
icon" and the iPhone Theme immediately changes the entire theme.
By pressing this button inside the app... the Theme of the iPhone will
switch between "normal" and "special mode"
In "special mode", anything that can be changed to a specific color
(just one color) will change. This needs to be done without
jailbreaking the phone and needs to serve as an "on/off" switch type
of functionality.
I searched everywhere but not got anything about it whether it is possible in iPhone or not OR how to do it in iPhone....
Please tell me how to do it or provide any link which can help me for the same.
I don't believe Apple lets you play with the OS of the phone. If you find a way to do it, it'll most likely be rejected on the app store, just a heads up.

How can I add hotkeys with Safari extension

Can I listen to hotkeys with safari extension?
I want to respond to Cmd+SomeKey with action done by extension, but I've read intro on apple developer and there is nothing about hotkeys.
You can add custom buttons to the Safari toolbar, create bars of your own, add contextual menu items, display content in bars or tabs, and inject scripts and style sheets into webpages.
No single word about hotkeys, and google doesn't find any article about that. So is it possible at all? If it is possible, where can I get additional info?
It can be done -- someone helped me to set it up for my browser window resizer extension. You need to have an injected script that checks for a specific keypress/combo then send a message back to your toolbar or global page. Here's an example on github of an inject script to monitor for specific keypresses (alt-1 to alt-0) and here's an example of doing something with the message lines 92-108 & 131 of this toolbar page.