[RESOLVED] How to mark as untrusted?

Ask for help about NoScript, no registration needed to post
WaltR

[RESOLVED] How to mark as untrusted?

Post by WaltR »

If anyone can help with this it would be super awesome. When I'm on a web page and I want to mark an element in the page as untrusted, how do I know which one is the one want? Sometimes it displays a long list of different items. :?:
Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13 ( .NET CLR 3.5.30729; .NET4.0C)
User avatar
Giorgio Maone
Site Admin
Posts: 9524
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: How to mark as untrusted?

Post by Giorgio Maone »

Since everything is disabled by default, you probably have good reasons and know exactly what you want to mark as untrusted (i.e. you don't want to see again in the "Allow" list).
Anyway, you can obtain more information about elements in the menu by middle-clicking them.
Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13
WaltR

Re: How to mark as untrusted?

Post by WaltR »

Hi, I appreciate the reply. Here's a picture of what I'm trying to block. It's at ImageShack. Every time I upload an image, this popup appears and the screen goes dark until I cancel it. I was able to remove the popup with RemoveItPermanently but the screen stayed dark. There's a check box at the bottom of the popup that says "Never show again" but it's worthless. I was wondering if there's a way to block something like this from ever happening in the first place with NoScript? Thanks a million. :)

Image
Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13 ( .NET CLR 3.5.30729; .NET4.0C)
User avatar
Giorgio Maone
Site Admin
Posts: 9524
Joined: Wed Mar 18, 2009 11:22 pm
Location: Palermo - Italy
Contact:

Re: How to mark as untrusted?

Post by Giorgio Maone »

WaltR wrote:There's a check box at the bottom of the popup that says "Never show again" but it's worthless.
Are you blocking cookies? Probably is that.

Anyway, getting rid of that modal pseudo-popup is a bit complicated, but nothing that can't be tackled by Script Surrogates.
Just add the following prefs to your about:config:

noscript.surrogate.imageshack.replacement

Code: Select all

(function(){var cookie=document.__proto__.__lookupGetter__('cookie');document.__proto__.__defineGetter__('cookie',function() {var c='; nevershow=y';return (cookie.apply(this).replace(c,'')+c).replace(/^; /, '')})})();alert(document.cookie)
noscript.surrogate.imageshack.sources

Code: Select all

@.imageshack.us
This will be added by default in next release.
Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13
WaltR

Re: How to mark as untrusted?

Post by WaltR »

Yes it was a cookie problem. I accept cookies from ImageShack but don't keep them so I think that was the problem. I unchecked "Never show again" then checked it again and it set a new cookie called "nevershow." I set FF to save ImageShack cookies and now it doesn't do it! I really appreciate your help. NoScript is an awesome extension. I've been using it awhile now but feel like I've barely scratched the surface. Take care, Walt
Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13 ( .NET CLR 3.5.30729; .NET4.0C)
Post Reply