Last active
April 7, 2022 16:02
-
-
Save gingerbeardman/789bcd8786fb76578fc11c491bd5b97b to your computer and use it in GitHub Desktop.
dot files for Safari extension "PageExtender" to redirect Yahoo! Japan Auctions item pages to an equivalent of your choice
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
* { | |
display: none !important; | |
} |
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
// redirect to proxy | |
if ( window.location.host == 'page.auctions.yahoo.co.jp' && window.location.pathname.startsWith('/jp/auction/') ) { | |
var item = window.location.pathname.split('/').slice(-1)[0]; | |
// window.location.href = "https://buyee.jp/item/yahoo/auction/" + item; | |
// window.location.href = "https://www.fromjapan.co.jp/en/auction/yahoo/input/" + item; | |
window.location.href = "https://www.remambo.jp/auction/item/" + item; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment