Skip to content

Commit

Permalink
Switch back to the wrench icon.
Browse files Browse the repository at this point in the history
The gear emoji is displayed as the small version on Chrome on Ubuntu,
even with the variation selector-16 character (0xFE0F).
https://bugs.chromium.org/p/chromium/issues/detail?id=964527
https://bugs.chromium.org/p/chromium/issues/detail?id=491556
  • Loading branch information
dstein64 committed Feb 18, 2022
1 parent 000053c commit d73f693
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "Auto Highlight",
"version": "3.4.8",
"version": "3.4.9",
"description": "*Auto Highlight* automatically highlights the important content on article pages.",
"options_ui": {
"page": "src/options/options.html"
Expand Down
5 changes: 1 addition & 4 deletions src/eventPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -568,10 +568,7 @@ chrome.permissions.onRemoved.addListener(function() {
'32': 'icons/options32x32.png',
}
} else {
// The variation selector-16 character (0xFE0F) is used so that the gear is
// shown with emoji presentation. Otherwise, it's small (observed on macOS).
const gear = String.fromCodePoint('0x2699') + String.fromCodePoint('0xFE0F');
properties.title = gear + ' ' + properties.title;
properties.title = String.fromCodePoint('0x1F527') + ' ' + properties.title;
}
chrome.contextMenus.create(properties);
}
Expand Down

0 comments on commit d73f693

Please sign in to comment.