Torn Properties Manager

Adds a property management dashboard to Torn's properties page with expiration tracking, offer status, and pagination

These are versions of this script where the code was updated. Show all versions.

  • v3.4 2025-01-25

    Fix cost display in PropertyChecker.js by adding a dollar sign to daily cost formatting, ensuring clarity in property details. This change improves the user interface by clearly indicating the cost as a monetary value.

    Update v3.4. Removed API on renew and used new setting for this. Fixed saving offers

  • v3.3 2025-01-03

    Update PropertyChecker.js to version 3.3; enhance API key handling by adding error detection for incorrect keys, which prompts users to re-enter their API key. Improved user experience with dynamic messaging in the API key form. Refactored input type for API key to ensure proper handling. This update streamlines error management and enhances the overall functionality of the properties manager.

  • v3.2 2025-01-03

    Fix cost display in PropertyChecker.js by removing dollar sign from daily cost formatting. This change ensures the cost is displayed correctly as a formatted number without currency symbols, improving clarity in property details.

    Enhance offer submission handling in PropertyChecker.js by adding support for lease tab. Implemented a new function to fetch property data and automatically populate cost and amount inputs based on daily rent calculations. Improved user experience by ensuring inputs are set correctly and observer disconnects after handling. This update streamlines the offer submission process and enhances property management functionality.

    Update PropertyChecker.js to version 3.2; introduce settings management feature allowing users to save API key and default rental period. Added a settings toggle button and corresponding UI elements for user input. Enhanced offer submission handling by ensuring inputs are processed correctly and preventing duplicate submissions. Improved user experience with alerts for successful settings updates and API key deletion. This update streamlines property management functionality and enhances user interaction.

  • v3.1 2025-01-03

    Update PropertyChecker.js to version 3.1; improve log offer button functionality by conditionally setting the title attribute based on screen width. This change enhances mobile responsiveness and user experience by ensuring appropriate tooltips are displayed on larger screens.

  • v3.0 2025-01-03

    Add media query to disable pointer events for log offer button on touch devices in PropertyChecker.js

    Enhance mobile responsiveness in PropertyChecker.js by adding a media query for table layout. Implemented a mobile-friendly design for property listings, including adjustments to the filter section and pagination. Improved button functionality for touch devices to prevent double-firing events. This update significantly enhances user experience on mobile devices.

    Refactor table styling in PropertyChecker.js to improve layout and user experience. Enhanced the display of property details with inline-block formatting and added visual indicators for 'Days Left' and 'Daily Rent'. Updated button styling for better alignment and responsiveness. This change aims to create a more intuitive interface for property management.

    Enhance touch event handling for log offer button in PropertyChecker.js. Implemented scroll detection to prevent accidental clicks on mobile devices, improving user experience. Updated event listeners to ensure proper functionality during touch interactions, enhancing responsiveness and preventing double-firing of events.

    Refactor log offer button functionality in PropertyChecker.js by removing touch event handling and simplifying click event management. This change enhances code readability and maintains user experience by ensuring accurate button interactions without accidental double-firing on mobile devices. Additionally, removed unnecessary inline styles for improved maintainability.

    Update PropertyChecker.js to version 3.0; Fully reworked mobile version

  • v2.9 2025-01-03

    Add 'Offer' column and functionality to PropertyChecker.js for logging offers on properties. Users can now make offers, which are stored in localStorage, and the UI updates accordingly to reflect the offer status. This enhancement improves user interaction with property management features.

    Reduce max-width of player ID search input in PropertyChecker.js for improved layout consistency. This change enhances the UI by ensuring better alignment and spacing within the properties content section.

    Refactor hover functionality in PropertyChecker.js to improve user interaction. Removed old hover listeners and added new handlers for the offered state, ensuring the row color updates correctly based on offer status and days left. This change enhances the visual feedback for users when interacting with property offers.

    Enhance property management features in PropertyChecker.js by updating offer handling and filter functionality. The 'offerMade' property now accurately reflects the offer status, and new checkboxes for hiding offered properties have been added, complete with dynamic counts and localStorage support. This improves user interaction and visual feedback when managing property offers.

    Update PropertyChecker.js to version 2.9; enhance offer button functionality by improving visual feedback and updating localStorage handling. The button now toggles between 'Log an offer' and 'Remove offer' states, ensuring accurate representation of offer status. Additionally, the property dataset is updated accordingly, enhancing user interaction and experience in property management.

  • v2.8 2025-01-02

    Update version to 2.8 in PropertyChecker.js; Fix for search field overflowing on PDA

  • v2.7 2025-01-02

    Update version to 2.7 in PropertyChecker.js; fix for hide available not working

  • v2.6 2025-01-02

    Update version to 2.4 in PropertyChecker.js; add filter functionality to hide available properties in the properties management dashboard. This update enhances user experience by allowing users to filter out available properties, improving the clarity of the displayed data. Additionally, the pagination and page info display have been adjusted to reflect the filtered property count.

    Update version to 2.5 in PropertyChecker.js; enhance filter functionality by adding localStorage support for the 'hide available properties' checkbox. This improvement allows the user's filter preference to persist across sessions, enhancing the overall user experience in managing properties.

    Update version to 2.6 in PropertyChecker.js; add player ID search functionality to the properties management dashboard. This enhancement allows users to filter properties by the player ID of the renter, improving the usability and efficiency of property management. Additionally, the layout of the filter controls has been adjusted for better organization.

    Enhance filter functionality in PropertyChecker.js by updating the 'hide available properties' checkbox. The checkbox now dynamically displays the count of available properties and retains its state using localStorage, improving user experience and interaction with property management features.

  • v2.3 2025-01-01

    Add statistics section to PropertyChecker.js; implement revenue stats and ROI calculator for enhanced property management insights. This update introduces a toggleable statistics panel that displays total properties, daily, monthly, and annual revenue, along with an ROI calculator to assist users in evaluating property investments effectively.

    Refactor Revenue Stats and ROI Calculator in PropertyChecker.js; enhance UI with improved layout and styling for better user experience. This update introduces a grid layout for revenue statistics and a more visually appealing ROI calculator, making it easier for users to assess property performance and investment potential.

    Update version to 2.2 in PropertyChecker.js; enhance statistics section with improved layout and styling for revenue stats and ROI calculator. This update introduces a more organized grid layout, additional daily rent display, and refined input handling, improving user experience and property management insights.

    Update version to 2.3 in PropertyChecker.js; enhance properties management with improved MutationObserver for React navigation and added URL hash change handling. This update ensures the properties table is recreated when navigating within the app, improving reliability and user experience. Additionally, existing containers are now removed to prevent stale data display.

  • v2.1 2025-01-01

    Update version to 2.1 in PropertyChecker.js; enhance properties manager with new configuration options, optimized data processing, and improved API request handling. This update introduces a more efficient way to manage properties, including debouncing for event handling and better DOM manipulation techniques, resulting in a smoother user experience.

  • v2.0 2025-01-01

    Update version to 2.0 in PropertyChecker.js; enhance loading process with improved retry logic for element detection and add a MutationObserver to handle React navigation. This update increases the reliability of the properties manager by ensuring it initializes correctly and responds to dynamic changes in the DOM.

  • v1.9 2025-01-01

    Refactor property data retrieval in PropertyChecker.js; remove redundant call to getPropertyData() after fetching current property ID. This change streamlines the loading process by ensuring that property data is only fetched when necessary.

    Update version to 1.9 in PropertyChecker.js; improve loading process by adding a check for the properties page element before creating the properties table. This change enhances the script's reliability by ensuring that the properties manager initializes only when the necessary DOM elements are available.

  • v1.8 2025-01-01

    Update version to 1.8 in PropertyChecker.js; improve user interface by restructuring the properties manager layout for better accessibility and usability. The remove button is now more integrated, and the API key submission process has been streamlined. This update enhances the overall user experience by making the properties manager more intuitive and visually appealing.

  • v1.7 2025-01-01

    Update version to 1.6 in PropertyChecker.js and enhance the properties management dashboard with expiration tracking, offer status, and pagination features.

    Update version to 1.7 in PropertyChecker.js; enhance user interface by adding a remove button for the properties manager and improving API key submission handling. This update streamlines the user experience by allowing users to easily dismiss the properties manager and ensuring proper handling of API key input.

  • v1.5 2025-01-01

    Update version number to 1.5 in PropertyChecker.js and remove 'Cost Per Day' column from properties table for a cleaner display.

    Update version number to 1.5 in PropertyChecker.js

  • v1.4 2025-01-01

    Update version number to 1.4 in PropertyChecker.js

  • v1.3 2025-01-01

    Enhance properties table in PropertyChecker.js by adding a check for existing container, introducing 'Cost Per Day' column, and updating property data structure to include cost per day. This improves user experience by preventing duplicate tables and providing more detailed property information.

  • v1.3 2024-12-31

    Update version number to 1.3 in PropertyChecker.js

  • v1.2 2024-12-31

    Enhance property data handling by introducing current property ID retrieval and updating property status display. Added a new function to fetch the current property ID from the API, ensuring data is only fetched once per minute. Updated property filtering logic and button display for renew/lease actions based on property status.

  • v1.2 2024-12-31

    updated version

  • v1.0 2024-12-31 Imported from URL