1300

移行用のテストです

NAVERまとめで#回避

// ==UserScript==
// @name         naver_sharp_avoid
// @namespace    http://tampermonkey.net/
// @version      0.1
// @description  try to take over the world!
// @author       You
// @match        https://matome.naver.jp/*
// @grant        none
// ==/UserScript==
var result = document.evaluate('//div[contains(@class,"MdPagination0")]', document, null, 7, null);
result.snapshotItem(0).addEventListener('mouseover', function () {
  var result2 = document.evaluate('//link[@rel="canonical"]', document, null, 7, null);
  var result3 = document.evaluate('//div[contains(@class,"MdPagination0")]/a', document, null, 7, null);
  for (var i = 0; i < result3.snapshotLength; i++) {
    result3.snapshotItem(i).href = result2.snapshotItem(0).href + "?page=" + result3.snapshotItem(i).childNodes[0].nodeValue;
  }
});