Skip to content

Commit

Permalink
Fix for amazon today's deal.
Browse files Browse the repository at this point in the history
  • Loading branch information
itskhaledmohammad committed Dec 28, 2016
1 parent ffe0204 commit 942447e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
8 changes: 7 additions & 1 deletion content.js
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,10 @@ function start(){
ourSelector = ".a-size-small";
}


}
else if(currUrl.includes("nav_cs_gb"))
{
ourSelector = ".a-size-medium";
}
else{
ourSelector = ".a-color-price";
Expand Down Expand Up @@ -218,6 +221,9 @@ function start(){
convertedRate = NegativeToPositive(convertedRate);
$(this).html(current + curr_symbol + " " + convertedRate + ")");
}
else if(curr_text.includes("%")){
// Do nothing.
}
// If the price tag is not a range. ie. $X
else{

Expand Down
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"manifest_version": 2,
"name": "Dam koto?",
"description": "This extension adds a price tag in native currency selected beside the current price tags of amazon's price tags.",
"version": "3.1.1",
"version": "3.1.2",
"permissions": ["tabs", "activeTab", "storage"],
"browser_action": {
"default_icon": {
Expand Down

0 comments on commit 942447e

Please sign in to comment.