Mercurial > ec-userscripts
comparison mandarake-direct-link.user.js @ 52:f8c3374d862c
Fix mandarake cleanup
No longer removing thumbnail in notification list
author | nanaya <me@nanaya.pro> |
---|---|
date | Sat, 16 Jun 2018 21:41:01 +0900 |
parents | f0d5a5d80bfd |
children | 09f735548b2c |
comparison
equal
deleted
inserted
replaced
51:f0d5a5d80bfd | 52:f8c3374d862c |
---|---|
1 // ==UserScript== | 1 // ==UserScript== |
2 // @name mandarake direct link | 2 // @name mandarake direct link |
3 // @namespace https://myconan.net | 3 // @namespace https://myconan.net |
4 // @version 1.3.1 | 4 // @version 1.3.2 |
5 // @description Make proper link on mandarake pages | 5 // @description Make proper link on mandarake pages |
6 // @author nanaya | 6 // @author nanaya |
7 // @match https://order.mandarake.co.jp/* | 7 // @match https://order.mandarake.co.jp/* |
8 // @match http://order.mandarake.co.jp/* | 8 // @match http://order.mandarake.co.jp/* |
9 // @grant none | 9 // @grant none |
12 | 12 |
13 ;(function() { | 13 ;(function() { |
14 "use strict"; | 14 "use strict"; |
15 | 15 |
16 $(".r18mark").remove(); | 16 $(".r18mark").remove(); |
17 $(".r18item").remove(); | 17 $(".r18item ~ a[href^='#adult_confirm']").remove(); |
18 | 18 |
19 var fixR18Link = function(_i, el) { | 19 var fixR18Link = function(_i, el) { |
20 var url = `/order/detailPage/item?itemCode=${el.id}`; | 20 var url = `/order/detailPage/item?itemCode=${el.id}`; |
21 | 21 |
22 el.setAttribute("href", url); | 22 el.setAttribute("href", url); |