Store Feature Request: “Search forum for [product]”

finebyfine

Well-known member
I have a tampermonkey script setup to add on product pages a link for “Search forum for [product title]” and find it super useful.

The search function on the forum isn’t structured like search?query=xyz so it doesn’t go directly to the results but my links will still autofill the search term so all I have to do is click “search.”

My phone doesn’t have it, and I find myself sorely missing it and thought it might be worth suggesting!
 
This is my tampermonkey script for whatever it's worth to anyone by the way, updated w/ Rob's workaround to actually go to the search results

JavaScript:
// @match        http*://www.pedalpcb.com/product/*
// @require      https://code.jquery.com/jquery-3.7.1.slim.min.js
// @icon         https://www.google.com/s2/favicons?sz=64&domain=pedalpcb.com
// @grant        none
// ==/UserScript==

(function() {
    'use strict';
    var $ = window.jQuery;
    $(document).ready(function(){

        $( "h1.product-title.product_title.entry-title" ).after( "<p>Search PedalPCB Forum for <a href='https://forum.pedalpcb.com/search/1/?q=" + $("h1.product-title.product_title.entry-title").text() + "'>" + $("h1.product-title.product_title.entry-title").text() + "</a></p>" );
      });


})();
 
Back
Top