Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
niallr authored Oct 8, 2024
1 parent 090df99 commit b59b024
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions src/Scripts/search.js
Original file line number Diff line number Diff line change
Expand Up @@ -271,6 +271,11 @@ function getContent() {
keySpecsExteriorLength.innerText = "Exterior Length: " + data.specification.techData.vehicleLength;
yetAnotherSpecsBox.prepend(keySpecsExteriorLength);

console.log(advertId + " - " + "Emission Class: " + data.specification.emissionClass);
let keySpecsEmissionClass = keySpecsItem1.cloneNode(true);
keySpecsEmissionClass.innerText = "Emission Class: " + data.specification.emissionClass;
yetAnotherSpecsBox.prepend(keySpecsEmissionClass);

listing.querySelector('[data-testid="search-listing-specs"]').parentNode.append(yetAnotherSpecsBox);

if (data.specification.techData.bodytype == "Estate" +(data.specification.techData.bootspaceSeatsUp.split(" ")[0]) >= 400) {
Expand Down
2 changes: 1 addition & 1 deletion src/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"manifest_version": 3,
"name": "ATPlus",
"description": "An extension to improve the user experience on the AutoTrader UK website.",
"version": "1.0.0",
"version": "1.0.1",
"icons": {
"16": "Images/icon-16.png",
"32": "Images/icon-32.png",
Expand Down

0 comments on commit b59b024

Please sign in to comment.