Not sure if Google does anything to restrict plug-ins from tampering with its results, but domains in DDG results are canonicalized making it trivial to use them as keys in localStorage. So filtering after the fact, while slightly awkward, can work for a list of thousands or millions?