<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>paranishian</author_name>
  <author_url>https://blog.hatena.ne.jp/paranishian/</author_url>
  <blog_title>paranitips</blog_title>
  <blog_url>https://paranishian.hateblo.jp/</blog_url>
  <categories>
    <anon>開発</anon>
  </categories>
  <description>モバイルWebにおいて、セキュリティ上、WebのリンクURLを表示させたくなかったり、 テキストのコピーを防止したい場合があります。 これらの長押しアクションを無効にするにはbodyのcssに以下を追記します。 body { -webkit-touch-callout:none; // リンク長押しのポップアップを無効化 -webkit-user-select:none; // テキスト長押しの選択ボックスを無効化 } 補足 また、一般的なWebサイトの右クリックの無効化は &lt;body oncontextmenu='return false;'&gt; コピーの無効化は &lt;body oncopy='…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fparanishian.hateblo.jp%2Fentry%2Fcss%2Fmobileweb&quot; title=&quot;iPhone、AndroidのモバイルWebでの長押しアクションを無効化する - paranitips&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://lh3.googleusercontent.com/-IKsxSDuB_xo/UYcM-HXbI2I/AAAAAAAAFCQ/pEFwM8uqYWY/w268-h476/Screenshot+2013.05.06+10.49.03.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2012-08-03 11:16:41</published>
  <title>iPhone、AndroidのモバイルWebでの長押しアクションを無効化する</title>
  <type>rich</type>
  <url>https://paranishian.hateblo.jp/entry/css/mobileweb</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
