Greasy Fork 支持简体中文。

Trulia bigger map

Prefers a bigger map on Trulia.com

// ==UserScript==
// @name         Trulia bigger map
// @namespace    http://sphire.co/
// @version      0.1
// @description  Prefers a bigger map on Trulia.com
// @author       Juan Sanchez <[email protected]>
// @match        https://www.trulia.com/for_sale/*
// @icon         https://www.google.com/s2/favicons?sz=64&domain=trulia.com
// @grant        none
// @license      MIT
// ==/UserScript==

(function() {
    'use strict';

    const resultsColumn = document.getElementById('resultsColumn');
    const mapSection = document.querySelector('#main-content > div > section');

    if(resultsColumn && mapSection){
        resultsColumn.style.width = '40%';
        mapSection.style.width = '59%';
    }

    console.log("Listening Trulia", resultsColumn, mapSection);
})();