开发者

How to enable the right click menu in the text box on my Google Chrome extension popup?

开发者 https://www.devze.com 2023-03-09 04:39 出处:网络
I am creating a text box where the user will enter some input in my Google chrome extension popup. <div align=\"center\">

I am creating a text box where the user will enter some input in my Google chrome extension popup.

<div align="center">
<input type="text" id="textbox" size="25" s开发者_如何学编程tyle="height:30px;font-size:14pt;"/>
<br>
<script>document.getElementById('textbox').focus()</script>
</div>

But, to my surprise, when I right click inside the displayed textbox, no menu shows up!

How can I enable the context menu?


Context menus are disabled in popups. You can star this issue.

0

精彩评论

暂无评论...
验证码 换一张
取 消