Mercurial > ec-userscripts
view rakuten-books-direct-search.user.js @ 23:d7cfa95436f9
(none)
author | Edho Arief <me@myconan.net> |
---|---|
date | Fri, 13 Nov 2015 09:23:40 +0000 |
parents | c4a091629ffb |
children | 2a4e34183b01 |
line wrap: on
line source
// ==UserScript== // @name rakuten books direct search // @namespace https://myconan.net // @version 1.0.0 // @description Search on rakuten without tracking proxy // @author nanaya // @match https://books.rakuten.co.jp/* // @match http://books.rakuten.co.jp/* // @grant none // @downloadURL https://bitbucket.org/!api/2.0/snippets/nanaya1/TK64/tip/files/mandarake-direct-link.user.js // ==/UserScript== ;(function() { var $ = jQuery; var $form = $("form[name='srchFrm']"); if (!$form.length) { return; } var searchUrl = $form.find("input[name='R2']").attr("value"); $form.attr("action", searchUrl); }).call();