Undesired Behavior Slate.com

General discussion about the NoScript extension for Firefox
Post Reply
oldgeek42
Posts: 2
Joined: Thu May 12, 2011 7:13 am

Undesired Behavior Slate.com

Post by oldgeek42 »

I go to Slate.com for my daily news fix. Two issues I would like to see NoScript (or FF or anyone) address if possible.

1. Slate periodically refreshes the page (every 5 minutes?) and this is very annoying, especially when I am nearly at the bottom and the refresh takes me to the top again. Can NoScript prevent this?

2. At the top of Slate.com's home page there is bar with the words Briefing, News & Politics, Arts, Life, etc, etc. What drives me almost insane is that when my mouse cursor travels over one of these words a pop up pull down menu instantly appears and of course blocks what I may be trying to view. I need to maneuver the mouse to make the always unwanted pop up menu disappear. It is obvious why this bar was strategically placed at the top of the page. Slate hopes to attract users to reading additional topics. I think we should have a choice to disable this pop-up.

I would like NoScript to disable this mouse roll over pop-up feature but without disabling things I can normally click on (in Slate.com) to open and view.

I realize this may not be a NoScript issue but I thought I would ask. I firmly believe we the users should be in control of how our web pages work so I heartily endorse products like NoScript and AdBlock.

Many thanks.
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.17) Gecko/20110420 Firefox/3.6.17 GTB7.1
Zirro
Posts: 1
Joined: Mon May 09, 2011 9:23 pm

Re: Undesired Behavior Slate.com

Post by Zirro »

It sounds more like a job for a Userscript to me, but let's see what Giorgio has to say.
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:6.0a1) Gecko/20110511 Firefox/6.0a1
User avatar
Giorgio Maone
Site Admin
Posts: 9524
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: Undesired Behavior Slate.com

Post by Giorgio Maone »

A Surrogate Script will help you.
Just create the following two about:config preferences, and you're done:

noscript.surrogate.slate.source

Code: Select all

!@.slate.com
noscript.surrogate.slate.replacement

Code: Select all

document.getElementById("nav").addEventListener("mouseover",function(ev){ev.stopPropagation()},true);location.replace=function(){}
Of course, exactly the same code can work as a UserScript, like Zirro said, but if you don't already have GreaseMonkey you don't need to install it.
Mozilla/5.0 (Windows NT 5.2; WOW64; rv:2.0.1) Gecko/20100101 Firefox/4.0.1
oldgeek42
Posts: 2
Joined: Thu May 12, 2011 7:13 am

Re: Undesired Behavior Slate.com

Post by oldgeek42 »

Thanks Giorgio for your super fast reply. Added the 2 entries, as you recommended, in FF's about:config and restarted FF but it made no difference. Both issues (page auto refresh, mouse passover activates undesired pop-up windows) are still present.

In my continuing research I uncovered this piece (below) of java script code that supposed to kill Slate's auto refresh feature ->

javascript:window.cleartimeout(window.timeout);void(refreshpage=null);

But I must install the Java code in something called a bookmarklet. From what I can see FF bookmarks do not support the addition of Java code. Still, I researched that I still haven't figured out how to make, no less install a bookmarklet. Folks who write the "how to" aren't very clear and the write up is for older versions of FF.

I really object to how Slate pushes this on us and I had wrote to them 2X asking how I could disable these features - no response.

Help, thanks, regards,
Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.17) Gecko/20110420 Firefox/3.6.17 GTB7.1
User avatar
therube
Ambassador
Posts: 7969
Joined: Thu Mar 19, 2009 4:17 pm
Location: Maryland USA

Re: Undesired Behavior Slate.com

Post by therube »

Create a new bookmark, place your code into the 'Location' field.
Click 'Add'. Copy that bookmark onto your Personal Toolbar (if FF has such a thing).

After Slate has loaded, click the bookmark(let).

(That is a manual method. A surrogate would be automatic.)
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14 Pinball NoScript FlashGot AdblockPlus
Mozilla/5.0 (Windows NT 6.1; rv:2.0.1) Gecko/20110508 Firefox/4.0.1 SeaMonkey/2.1
Post Reply