Last active
February 22, 2016 05:49
-
-
Save nil2013/f4e367520dae6d1bb78c to your computer and use it in GitHub Desktop.
Amazon.co.jpで表示している書籍を書籍横断検索サイトで検索するブックマークレット
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 編集用 | |
javascript:( | |
function() { | |
var title = document.getElementById("productTitle"); | |
var url = "http://book.tsuhankensaku.com/hon/index.php?t=booksearch&q=" + title.innerText; | |
document.location=url; | |
})(); | |
// 一行 | |
javascript:( | |
function() { | |
document.location="http://book.tsuhankensaku.com/hon/index.php?t=booksearch&q=" + document.getElementById("productTitle").innerText; | |
})(); | |
// ブックマークレット登録用 | |
javascript:( function() { document.location="http://book.tsuhankensaku.com/hon/index.php?t=booksearch&q=" + document.getElementById("productTitle").innerText; })(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment