New York Times (NYT) Sanity

By Huey Last update Sep 2, 2008 — Installed 302 times.

Where to put updated code?

in
Subscribe to Where to put updated code? 4 posts, 2 voices



traycerb Scriptwright

NYT changed their code, and someone provided updated code in the (archived) discussion section, but I'm not sure where to place the code. The code is reproduced below. Trying to get rid of their script as it interferes with FF's autocopy addon.

The TImes changed the script again. Now, it uses Prototype and only pops up a question mark. To get rid of it, you can use:
addEventListener("load",
function()
{
window.location.href = "javascript:void(document.stopObserving(\"mouseup\"));";
}, false);

 
traycerb Scriptwright

One update: can get rid of the actual pop-up "question mark" by highlighting text in nyt, then using Adblock Plus's "Select Element to Hide" option and clicking on the "question mark." I chose filter options to limit the domain to nytimes.com and added the "title=Lookup Word" checkbox.

works fine, but still doesn't stop nyt from intercepting Autocopy's function...

 
Steve Matuszek Scriptwright
FirefoxWindows

I couldn't get the stopObserving method to do the trick... but what did work was just telling Adblock Plus to block http://*/altClickToSearch.js. Presto, absolutely nothing special happens on any sort of click.

 
traycerb Scriptwright
FirefoxWindows

thanks. had gotten used to NYT's interference, but this worked right away. long live abp!

Cross
Presentational HTML allowed.
Use <code> for inline code and <pre> for code blocks. Use &lt; and &gt; for literal < and >.
We help break paragraphs and link your links.
or cancel