Skip to content

Commit

Permalink
Remove .co.jp -> .jp exception
Browse files Browse the repository at this point in the history
Not sure whether this used to be necessary 4 years ago, but it
definitely breaks things now
  • Loading branch information
simonster committed Apr 2, 2013
1 parent d9a2590 commit 41920bd
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions Amazon.com.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"inRepository": true,
"translatorType": 4,
"browserSupport": "gcsbv",
"lastUpdated": "2013-03-30 23:47:53"
"lastUpdated": "2013-04-02 14:54:04"
}

function detectWeb(doc, url) {
Expand Down Expand Up @@ -56,9 +56,6 @@ function doWeb(doc, url) {
var searchRe = new RegExp('^https?://(?:www\.)?amazon\.' + suffix + '/(gp/search/|(gp/)?registry/(wishlist|registry)|exec/obidos/search-handle-url/|s/|s\\?|[^/]+/lm/|gp/richpub/)');
var m = searchRe.exec(doc.location.href);
var uris = new Array();
if (suffix == "co.jp"){
suffix = "jp";
}
if (suffix == ".com") suffix = "com";
if(m) {
var availableItems = new Array();
Expand Down

0 comments on commit 41920bd

Please sign in to comment.