Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --- chrome/content/aima_aimani.jsm.orig 2019-11-21 01:45:04.000000000 +0900
- +++ chrome/content/aima_aimani.jsm 2019-11-21 01:45:33.000000000 +0900
- @@ -5498,6 +5498,28 @@
- ngword_ip = RegExp.$1;
- }
- }
- + else if (node.nodeName.toLowerCase () == "span") {
- + if (num == 0
- + && node.className == "cno"
- + && node.textContent.match (/No\.([0-9]+)/)) {
- + /* スレ番号、レス番号の場合 */
- + num = parseInt (RegExp.$1);
- +
- + noNode = node;
- + }
- +
- + if (node.className == "cnw"
- + && node.textContent.match (/ID:([^ ]+)/)) {
- + /* ID の場合 */
- + ngword_id = RegExp.$1;
- + }
- +
- + if (node.className == "cnw"
- + && node.textContent.match (/IP:([^ ]+)/)) {
- + /* IP アドレス の場合 */
- + ngword_ip = RegExp.$1;
- + }
- + }
- else if (node.nodeName.toLowerCase () == "a") {
- var href;
- href = node.getAttribute ("href");
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement