#ls()

----

*リンクプラグインリスト [#j49eda88]
追加する場合、以下の書式でタイトル順に並べて下さい。
 **サイト名
 備考(あれば)
 :Match|
  Match
 :Replace|
  Replace
同じサイトで複数のリンクプラグインがある場合、***で階層化するかReplaceを並べるなどして記述を工夫して下さい。~
変更する場合、タイトルの横に(2015/04/30更新)などと更新日時を書いて下さい。


**2ちゃんねる互換掲示板のスレッド [#cc0a357f]
p2で内部リンクされないスレッドに内部リンクする。
:Match|
 ^http://(.+)/test/read\.cgi/(.+)/(\d+)(?:/(.*))$
:Replace(画像P付き)|
 <a href="read.php?host=\1&amp;bbs=\2&amp;key=\3&amp;ls=\4" onmouseover="showHtmlPopUp('read.php?host=\1&amp;bbs=\2&amp;key=\3&amp;ls=\4;one=true',event,0.2)" onmouseout="offHtmlPopUp()"><img src="img/pop.png" alt="" align="top" border="0" height="12" hspace="2" vspace="0" width="12"></a><a href="read.php?host=\1&amp;bbs=\2&amp;key=\3&amp;ls=\4">$str</a>
:Replace(文字p付き)|
 <a href="read.php?host=\1&amp;bbs=\2&amp;key=\3&amp;ls=\4" onmouseover="showHtmlPopUp('read.php?host=\1&amp;bbs=\2&amp;key=\3&amp;ls=\4;one=true',event,0.2)" onmouseout="offHtmlPopUp()">(p)</a><a href="read.php?host=\1&amp;bbs=\2&amp;key=\3&amp;ls=\4">$str</a>
:Replace(pなし)|
 <a href="read.php?host=\1&amp;bbs=\2&amp;key=\3&amp;ls=\4">$str</a>

**Amazon.co.jp [#ub01a839]
:Match|
 ^https?://(?:www\.)?amazon\.(?:co\.)jp/(?:gp/product|(?:.*?/)?dp)/(\w+).*$
:Replace|
 <a href="$ime_url" target="_blank">$str</a><br><iframe src="//rcm-fe.amazon-adsystem.com/e/cm?t=1&o=9&p=8&l=as1&asins=\1&lt1=_blank&f=ifr" style="width:120px;height:240px;" scrolling="no"></iframe>

**Dailymotion [#rba315f3]
:Match|
 ^http://www\.dailymotion\.com/video/([\w^_]+).*$
:Replace|
 <a href="$ime_url" target="_blank">$str</a><br><iframe frameborder="0" width="480" height="270" src="//www.dailymotion.com/embed/video/\1" allowfullscreen></iframe>

**Instgram [#r99cff32]
:Match|
 ^https://instagram\.com/p/([\w^_]+).*$
:Replace|
 <a href="$ime_url" target="_blank">$str</a><br><iframe src="http://instagram.com/p/\1/embed" style=" background:#FFF; border:0; border-radius:3px; box-shadow:0 0 1px 0 rgba(0,0,0,0.5),0 1px 10px 0 rgba(0,0,0,0.15); margin: 1px; max-width:658px; padding:0;width:320px;height:400px" scrolling="no"></iframe>

**Pastebin.com [#sb344cb3]
:Match|
 ^http://pastebin\.com/(\w+)$
:Replace|<a href="$ime_url" target="_blank">$str</a><iframe src="http://pastebin.com/embed_iframe.php?i=\1" style="border:none;width:100%"></iframe>

**pastebin [#sf3b4693]
:Match|
 ^https?://(?:www\.)?pastebin\.ca/(\d+)$
:Replace|
 <a href="$ime_url" target="_blank">$str</a><br><iframe src="//pastebin.ca/embed.php/\1.html" style="border:none;width:100%"></iframe>

**pixiv [#cdc25a16]
非SSLで使うとリファラが作者に漏れるので、リファラ漏れ対策をすること。
:Match|
 ^http://(?:www\.)?pixiv\.net/member_illust.php\?.*illust_id=(\d+).*$
:Replace|
 <iframe src="http://embed.pixiv.net/code.php?id=\1_0" width="380" height="168" style="background:transparent" frameborder="0" marginwidth="0" marginheight="0" scrolling="no"></iframe>

**Twitter [#a74d5be2]
レスポップアップで副作用あり。
:Match|
 ^https?://(?:mobile\.)?twitter\.com/(.+?/status/.+)$
:Replace|
 <a href="$ime_url" target="_blank">$str</a><br><blockquote class="twitter-tweet" style="width:250px;height:250px"><a href="https://twitter.com/\1"></a></blockquote><script async src="//platform.twitter.com/widgets.js" charset="utf-8"></script>

**Vine [#mf364ccc]
:Match|
 ^https?://vine\.co/v/([\w^_]+).*$
:Replace|
 <a href="$ime_url" target="_blank">$str</a><br><iframe src="https://vine.co/v/\1/embed/simple" width="320" height="320" frameborder="0"></iframe>||

**xHamster [#d9e25d01]
:Match|
 https?://(?:(?:www|jp)\.)?xhamster\.com/movies/(\d+)/.+\.html$
:Repalce|
 <a href="$ime_url" target="_blank">$str</a><br><iframe width="510" height="400" src="//xhamster.com/xembed.php?video=\1" frameborder="0" scrolling="no"></iframe>||

**xVideos [#xc3204ff]
:Match|
 ^http://(?:www|jp)\.xvideos\.com/video(\d+)/.*$
:Replace|
 <a href="$ime_url" target="_blank">$str</a><br><iframe src="http://flashservice.xvideos.com/embedframe/\1" frameborder=0 width=510 height=400 scrolling=no></iframe>

**YouTube [#p9748ec9]
ビルトインよりもURLパターンの幅が広い。
:Match|
 ^(?:https?://(?:www\.|m\.)?youtube\.(?:com|jp)/(?:watch\?(?:.*&)?(?:v|video_id)=|v/)|(?:https?://youtu\.be/|https://www\.youtube-nocookie\.com/v/))([\w\-_]+)(?:.*)?$
:Replace|
 <a href="$ime_url" target="_blank">$str</a><br><iframe width="640" height="360" src="//www.youtube.com/embed/\1" frameborder="0" allowfullscreen></iframe>

トップ   新規 一覧 単語検索 最終更新   ヘルプ   最終更新のRSS