Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
turtleherder
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
1.
▲
by
turtleherder
12y ago
Yes. I think it should consist of two independent modules. The first would be the basic mechanism for creating the plugin, walking the node, and doing the text conversion, which would just be a function you could pass in. Then it would hav
2.
▲
by
turtleherder
12y ago
Yup. One of the other commenters suggested checking into Greasemonkey, but it's only for Firefox. Something could be created with a build step that creates the plugins for multiple browsers.
3.
▲
by
turtleherder
12y ago
Thanks for the tip. I'll check that out.
4.
▲
by
turtleherder
12y ago
I've actually been giving that a lot of thought while writing this. It wouldn't be too difficult. Although as I have learned, verbs are quite a bit more involved than nouns. I think I have something close to a generalized API for
5.
▲
by
turtleherder
12y ago
Totally. It takes about 30-40 milliseconds on a typical news page, and that's after I added a pretty hacky series of brute-force regexps in a panic after I realized that I had been assuming that disrupt is always a transitive verb, but
6.
▲
by
turtleherder
12y ago
It should not do that. If it does, there's a bug. Can you tell me what page you're looking at? EDIT: Oh, you mean the actual text inside the "a" tag? Yes, the plugin will change that in its current form. It would be pret
7.
▲
by
turtleherder
12y ago
Nice. I have also put a version of Disrupt to Bullshit up on Firefox's add-on store already: https://addons.mozilla.org/en-US/firefox/addon/disrupt-to-bu... But I initially didn't spread the word ab
8.
▲
by
turtleherder
12y ago
The plugin actually contains a large number of rules for different forms of the word 'disrupt'. Try it and see. For instance, both the words 'disruption' and 'disruptive' become 'bullshit'.
9.
▲
by
turtleherder
12y ago
Or, make a Safari version! If there's enough interest and no one else does it, I'll get around to that at some point.
10.
▲
by
turtleherder
12y ago
Yes, it does. But both Disrupt to Bullshit and Cloud to Butt are available for Firefox as well, if you don't want to switch. Disrupt to Bullshit's Firefox link is not searchable yet, but it's https://addons.mozilla
11.
▲
Show HN: Browser plugin that turns 'disrupt' into 'bullshit'
(chrome.google.com)
91 points
by
turtleherder
12y ago
|
72 comments