Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <html>
- <head>
- <title><THREADNAME/></title>
- <style type="text/css">
- a:hover
- {
- color: #ff0000;
- text-decoration: underline;
- }
- .ref_num
- {
- color:red;
- }
- .ref_cnt
- {
- text-decoration: none;
- font-weight: normal;
- }
- .sirusi
- {
- border-style:none;
- border-width:1;
- background-color:powderblue;
- }
- .sirusi_ref
- {
- border-style:none;
- border-width:1;
- background-color:pink;
- }
- .sirusi_men
- {
- border-style:none;
- border-width:1;
- background-color:silver;
- }
- .id_default_color
- {
- color:black;
- }
- .cl_ketai
- {
- background: url(<SKINPATH/>img/Client_ketai.png) no-repeat;
- width: 16px;
- height: 16px;
- }
- cl_willcom, .cl_Q
- {
- background: url(<SKINPATH/>img/Client_Q.png) no-repeat;
- width: 16px;
- height: 16px;
- }
- .cl_iPhone
- {
- background: url(<SKINPATH/>img/Client_iPhone.png) no-repeat;
- width: 16px;
- height: 16px;
- }
- .cl_p2
- {
- background: url(<SKINPATH/>img/Client_p2.png) no-repeat;
- width: 16px;
- height: 16px;
- }
- </style>
- <script type="text/JavaScript">
- // リンクにマウスオーバーされたらリンク先をチェックし
- // ようつべかニコ動ならサムネイルを挿入してみる by 水玉さん
- document.onmouseover =
- function()
- {
- var e = window.event.srcElement;
- if ( e.tagName == 'A' )
- {
- // マウスオーバーされた要素がAリンクだったので
- if ( e.href.match( /^http:\/\/www\.youtube\.com\/watch\?v=(\w+)/ ) )
- {
- // hrefがYouTubeなので
- if ( !e.img )
- {
- // 挿入済みじゃないのでA要素内にサムネイルimg要素を挿入
- var img = "<img src='" + "http://i.ytimg.com/vi/" + RegExp.$1 + "/default.jpg' />";
- e.insertAdjacentHTML( 'AfterBegin' , img );
- e.img = true; // 挿入済みにする
- }
- }
- else if ( e.href.match( /^http:\/\/www\.nicovideo\.jp\/watch\/sm(\d+)/ ) )
- {
- // hrefがニコ動なので
- if ( !e.img )
- {
- // 挿入済みじゃないのでA要素内にサムネイルimg要素を挿入
- var img = "<img src='" + "http://tn-skr.smilevideo.jp/smile?i=" + RegExp.$1 + "' />";
- e.insertAdjacentHTML( 'AfterBegin' , img );
- e.img = true; // 挿入済みにする
- }
- }
- else if ( mr = e.href.match( /^http:\/\/.+\.2ch\.net\/test\/read\.cgi\/.+\/(\d{10})/ ) )
- {
- // 2016/12/04 Mizutama
- // レス中のリンクが2chスレならスレ立て時刻を表示
- var date = new Date( mr[1] * 1000 );
- e.title = date.toLocaleString();
- }
- }
- }
- </script>
- </head>
- </head>
- <body bgcolor="#efefef" onmouseover="var e = window.event.srcElement;if (e.innerText.charAt(0)=='*'){window.status=e.href;setTimeout(function() { e.click(); },1);}">
- <font face="MS Pゴシック">
- <dl>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement