�窗</button>

<!-- type=date触发的原生控件 -->
<input type="date" 
       onclick="this.showPicker()"
       style="padding:8px">

<script>
document.addEventListener('contextmenu', (e) => {
  e.preventDefault();
  // 模拟浏览器右键菜单行为
  window.open('about:blank', '_blank', 'popup=yes');
});
</script>
<div style="height:200px; border:1px solid gray">
  右键点击此区域
</div>

</html>