Skip to content

Instantly share code, notes, and snippets.

@gingerbeardman
Last active April 7, 2022 16:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gingerbeardman/789bcd8786fb76578fc11c491bd5b97b to your computer and use it in GitHub Desktop.
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
* {
display: none !important;
}
// 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