Command Subscription Page - feature to warn users to install ubiquity
In the spirit of noscript tags...
Here is a lightweight way to let users know they skipped a step.
On command subscription pages Ubiquity should hide any elements with the class 'no-ubiquity' and then show all html elements with the class 'ubiquity-enabled'.
I've noticed a common problem with people using my commands that are new to Ubiquity is that they missed the Ubiquity install step. This would allow the command install page to highlight this missed step.
Ubiquity's codepath that processes the rel="commands" would have this additional code...
jQuery('.no-ubiquity', Application.activeWindow.activeTab.document).hide();
jQuery('.ubiquity', Application.activeWindow.activeTab.document).show();
Users can still have customized messages like
<div class="no-ubiquity">
<h2>You have NO Ubiquity Firefox Add-on.</h2>
<p>Problem found. Without this add-on, My script will not work. Go install Ubiquity.
</div>
<div class="ubiquity-enabled" style="display: none">
A bunch of HTML describing my commands.
</div>
Of course for command authors using either class is optional.
Here is a lightweight way to let users know they skipped a step.
On command subscription pages Ubiquity should hide any elements with the class 'no-ubiquity' and then show all html elements with the class 'ubiquity-enabled'.
I've noticed a common problem with people using my commands that are new to Ubiquity is that they missed the Ubiquity install step. This would allow the command install page to highlight this missed step.
Ubiquity's codepath that processes the rel="commands" would have this additional code...
jQuery('.no-ubiquity', Application.activeWindow.activeTab.document).hide();
jQuery('.ubiquity', Application.activeWindow.activeTab.document).show();
Users can still have customized messages like
<div class="no-ubiquity">
<h2>You have NO Ubiquity Firefox Add-on.</h2>
<p>Problem found. Without this add-on, My script will not work. Go install Ubiquity.
</div>
<div class="ubiquity-enabled" style="display: none">
A bunch of HTML describing my commands.
</div>
Of course for command authors using either class is optional.
1
person likes this idea
I like this idea!
Tell me when this idea gets some attention.
The more people who like this idea, the more it gets noticed.
The more people who like this idea, the more it gets noticed.
The company has not planned to implement this.
-
Inappropriate?I love that idea! Now if you could only use some Javascript to fetch the descriptions of the commands from the Javascript file itself (same descriptions that Ubiquity puts in the command list).
-
Inappropriate?This idea has been discussed among the developers, but being able to detect if a user is running an addon from a webpage is considered a security concern. You can see here for more discussion.
Loading Profile...




