mnghsn / google-search-sidebar

A user script and user style to move Google search tools to sidebar.
MIT License
83 stars 11 forks source link

Shopping page filters overlap results #61

Open HenryTheVacuum opened 1 month ago

HenryTheVacuum commented 1 month ago

This is the temporary fix I quickly whipped together

// ==UserScript==
// @name         Google Shopping Script
// @namespace    http://tampermonkey.net/
// @version      0.3
// @description  Script for Google Shopping pages and search results
// @match        *://www.google.com/search?*q=*&udm=28*
// @grant        none
// ==/UserScript==

function GM_addStyle (css) {
   const style = document.createElement('style')
   style.type = 'text/css'
   style.textContent = css
   document.head.appendChild(style)
   return style
}

GM_addStyle(`
   .GyAeWb {justify-content:flex-end}
`)