Auctionet admin page DOM structure — form field IDs, page layouts, key selectors, comment sections, and injection points. Use whenever modifying UI, fixing comment badges, reading form data, or injecting extension elements into Auctionet admin pages.
Reference for the DOM elements the extension interacts with across Auctionet's admin pages.
/admin/*/items/*/edit)Entry point: content-script.js
<textarea> or <input>)| Field | Selector | Type | Notes |
|---|---|---|---|
| Title (SV) | #item_title_sv | textarea | Primary field — must exist for page detection |
| Description (SV) | #item_description_sv | textarea | Rich text content |
| Condition (SV) | #item_condition_sv | textarea | Condition report |
| Artist Name (SV) |
#item_artist_name_sv |
| input |
| Auto-prepended UPPERCASE to title on display |
| Keywords | #item_hidden_keywords | textarea | Hidden from public, used for search |
| Category | #item_category_id | select | Use option:checked for current text value |
| Estimate | #item_current_auction_attributes_estimate | input | Lower estimate in SEK |
| Upper Estimate | #item_current_auction_attributes_upper_estimate | input | Upper estimate in SEK |
| Reserve | #item_current_auction_attributes_reserve | input | Reserve price |
| Accepted Reserve | #item_current_auction_attributes_accepted_reserve | input | Seller's accepted reserve |
| No Remarks | input[type="checkbox"]#item_no_remarks | checkbox | "Inga anmarkning" checkbox |
input[type="checkbox"]#item_no_remarks
#item_no_remarks
input[name="item[no_remarks]"]
input[type="checkbox"][name*="no_remarks"]
fetch-image-base64 message to the background service workerhttps://images.auctionet.com/ (in background.js ALLOWED_IMAGE_DOMAINS allowlist).grid-col8 — form fields (title, description, condition, etc.).grid-col4 / .sidebar / .form-sidebar — quality score panel, market analysis<form> with action containing /items/field.parentNode.insertBefore(wrapper, field.nextSibling).grid-col4 sidebar#item_category_id_chosen .chosen-single span for display valueFields are wrapped in parent containers. To find the visual container for a field:
let container = field.parentElement;
while (container && container.offsetHeight < 30) {
container = container.parentElement;
}
/admin/sas/sellers/*/contracts/*#new_item)Entry point: content.js
The Add Item form uses identical field IDs (#item_title_sv, etc.) but they may be loaded dynamically (SPA navigation). The page detector (modules/core/page-detector.js) watches for these elements via MutationObserver.
#item_title_sv — primary form indicator
#new_item — hash target / form container
.item_form — form wrapper class
form[action*="items"] — form element