Mercurial > ec-userscripts
comparison mandarake-direct-link.user.js @ 20:0552100cceb3
(none)
author | Edho Arief <me@myconan.net> |
---|---|
date | Thu, 22 Oct 2015 12:41:29 +0000 |
parents | 4b13157ae3a1 |
children | 28505554a8b9 |
comparison
equal
deleted
inserted
replaced
19:4b13157ae3a1 | 20:0552100cceb3 |
---|---|
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.2.0 | 4 // @version 1.2.1 |
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 |
16 var | 16 var |
17 $el = $(el), | 17 $el = $(el), |
18 url = "/order/detailPage/item?itemCode=" + $el.attr("id") + "&ref=list" | 18 url = "/order/detailPage/item?itemCode=" + $el.attr("id") + "&ref=list" |
19 | 19 |
20 $el.attr("href", url); | 20 $el.attr("href", url); |
21 $el.removeClass(); | |
21 }; | 22 }; |
22 | 23 |
23 $("[href^='#adult_confirm']").each(fixLink); | 24 $("[href^='#adult_confirm']").each(fixLink); |
24 }).call(); | 25 }).call(); |