PageSourceSearch

https://www.plus-a.net/uranai/link/link.js

js plus-a.net collected 2026-10-09 03:35:14 UTC 1,856 bytes, 38 lines download raw bytes

1/*
2document.addEventListener("DOMContentLoaded", function() {
3  setTimeout(checkGadClass, 1000); // 1.0秒後にチェック
4
5  function checkGadClass() {
6    let gadElements = document.querySelectorAll(".gad");
7
8    gadElements.forEach(function(gadElement) {
9      if (!gadElement.querySelector("iframe")) {
10        // iframeが生成されていない場合、リンクタグを生成する
11        createLinkTag(gadElement);
12      }
13    });
14  }
15
16  function createLinkTag(parentElement) {
17
18	// テキストの配列を作成
19	const htmls = [
20	//	'<a href="https://hb.afl.rakuten.co.jp/hgc/01607446.745934ca.0c4a8e01.abebf962/?pc=https%3A%2F%2Fevent.rakuten.co.jp%2Fcampaign%2Fpoint-up%2Fmarathon%2F&link_type=text&ut=eyJwYWdlIjoidXJsIiwidHlwZSI6InRleHQiLCJjb2wiOjF9" target="_blank" rel="nofollow sponsored noopener" style="word-wrap:break-word;"><img src="/uranai/link/r3.png" style="width:100%;max-width:400px;"><br>【PR】<br>楽天 お買い物マラソン!<br>1月28日 1:59まで!</a>'
21		'<a href="https://hb.afl.rakuten.co.jp/hgc/01607446.745934ca.0c4a8e01.abebf962/?pc=https%3A%2F%2Fevent.rakuten.co.jp%2Fvalentine%2F&link_type=text&ut=eyJwYWdlIjoidXJsIiwidHlwZSI6InRleHQiLCJjb2wiOjF9" target="_blank" rel="nofollow sponsored noopener" style="word-wrap:break-word;"><img src="/uranai/link/r2.png" style="width:100%;max-width:400px;"><br>【PR】<br>楽天 バレンタインデー</a>'
22	];
23	
24	// ランダムなインデックスを生成
25	let randomIndex = Math.floor(Math.random() * htmls.length);
26	
27	// ランダムに選ばれたテキストを表示
28	let randomHtml = htmls[randomIndex];
29
30    const divElement = document.createElement("div");
31    divElement.style.textAlign = 'center';
32    divElement.innerHTML = randomHtml;
33    
34    // リンクhtmlをparentElementに追加
35    parentElement.appendChild(divElement);
36  }
37});
38*/

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.