Inside topic page currently script hides whole topic, if there is promotion on it.
For "new" reddit change $("span:contains('promoted')") to $("span>:contains('promoted')") so it looks for direct SPAN attributes with "promoted" text. Currently it looks for all SPAN in hierarchy with that text. There is SPAN within SPAN and ends up returning 2 objects for single "promoted" lookup.
Inside topic page currently script hides whole topic, if there is promotion on it.
For "new" reddit change $("span:contains('promoted')") to $("span>:contains('promoted')") so it looks for direct SPAN attributes with "promoted" text.
Currently it looks for all SPAN in hierarchy with that text. There is SPAN within SPAN and ends up returning 2 objects for single "promoted" lookup.