1300

移行用のテストです

reverse系

@-moz-document url-prefix("https://omocoro.jp/tag/%e3%82%b7%e3%83%a2%e3%83%80%e3%83%86%e3%83%84%e3%83%a4%e3%81%a8%e7%a7%81%ef%bc%88%e3%83%a8%e3%83%83%e3%83%94%e3%83%bc%ef%bc%89/") {
  .list-main {
    display: flex;
    flex-direction: column-reverse;
    flex-wrap: wrap;
  }
}
//for 2ch.sc
var result = document.evaluate('id("thread")/dt', document, null, 7, null);
var result2 = document.evaluate('id("thread")/dd', document, null, 7, null);
var arr = [];
var arr2 = [];
for (var i = 0; i < result.snapshotLength; i++) {
  arr[i] = result.snapshotItem(i).innerHTML;
  arr2[i] = result2.snapshotItem(i).innerHTML;
}
arr.reverse();
arr2.reverse();
for (i = 0; i < result.snapshotLength; i++) {
  result.snapshotItem(i).innerHTML = arr[i];
  result2.snapshotItem(i).innerHTML = arr2[i];
}