Safari 10.0.2 + Safari App Extension to add ability for contextual menu items to change titles and be removed
||Date Originated:||30-Dec-2016 12:00 PM|
||Product Version:||Safari 10.0.2 (11602.3.12.0.1)|
I have a Safari App Extension that adds contextual menu items. These menu items are only useful when the contextual menu event target is a recognized URL. If the URL is useful then I change the contextual menu item to include the ‘filename’ that the URL includes, if the URL is not recognized then I disable my contextual menu item.
Neither of these features are available to Contextual Menu Items in Safari App Extensions.
Without being able to change the text of the contextual menu item or disable (remove) it the contextual menu has items in it that are not useful and if selected result in an error dialog. It is much better for those not to be present or have more information for the user to decide whether the action is something they actually want to do.
Reports posted here will not necessarily be seen by Apple.
All problems should be submitted at bugreport.apple.com before they are posted here.
Please only post information for Radars that you have filed yourself, and please do
not include Apple confidential information in your posts. Thank you!