Zend certified PHP/Magento developer

How do I create a filter/extension to search the web and only return results from forums?

I’m starting to switch to non-google services and one feature I’m not finding is a way to limit general searches to only “discussions”. I often find this kind of filtering very helpful for certain kinds of research sessions. It doesn’t seem that any of the major search engines have this capability built-in anymore, probably because it steers away from sites where they would make money…

Until now I’ve been using an extension for Chrome called “Discussions button for Google Search”. Its original method for limiting queries has been disabled by some of the changes that Google has implemented over the years but it currently still works by modifying the query with relevant filters*.

I’m looking for a way to build a simple to use solution (like the chrome extension was) for use in Firefox with DuckDuckGo or perhaps another search engine.

*Example of filters that are added to the search line: inurl:forum|viewthread|showthread|viewtopic|showtopic|”index.php?topic” | intext:”reading this topic”|”next thread”|”next topic”|”send private message”