Skip to content

Commit

Permalink
add Google(en) in the right-click search option
Browse files Browse the repository at this point in the history
  • Loading branch information
chakkun1121 committed Feb 1, 2024
1 parent 4249864 commit e80764d
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions app/(app)/_components/rightClick/main.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,18 @@ export default function RightClick() {
window.open(`https://www.google.com/search?q=${text}`, "_blank");
},
},
{
name: {
ja: "Google(English)",
en: "Google(English)",
},
onclick: (text: string) => {
window.open(
`https://www.google.com/search?q=${text}&hl=en&gws_rd=cr`,
"_blank"
);
},
},
{
name: {
ja: "Google翻訳",
Expand Down

0 comments on commit e80764d

Please sign in to comment.