goodjack / scriptno

Automatically exported from code.google.com/p/scriptno
0 stars 0 forks source link

Resource gets counted for hundreds when blocked #74

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Make sure pubnub.com is neither trusted or allowed
2. Go to humblebundle.com
3. Wait for the count to stop, it should read 550+. This will take some time on 
my 3 GHz Athlon II machine.
4. Open ScriptNo's pop up, humble.pubnub.com should be the only one with a 
count in the triple digits.
5. Trust pubnub.com, reload and wait

What is the expected output? What do you see instead?
In ScriptNo's popup the same site should be counted just once now.

What version of the product are you using? On what operating system?
ScriptNo 1.0.6.0
Chrome 19.0.1041.0 dev-m
Win7 64-bit

Please provide any additional information below.

Original issue reported on code.google.com by furex.fu...@gmail.com on 17 Feb 2012 at 3:32

GoogleCodeExporter commented 8 years ago
I noticed that it was unusually high on another site, and reported that it 
takes a while to load the popup when it's high: 
http://code.google.com/p/scriptno/issues/detail?id=63
Yours is XMLHTTPREQUEST, mine is http-bind OBJECT requests. I think the issue 
occurs when the main website continuously asks for something to occur if it 
fails, instead of just giving up.

Original comment by Aren...@gmail.com on 18 Feb 2012 at 6:51

GoogleCodeExporter commented 8 years ago
"I think the issue occurs when the main website continuously asks for something 
to occur if it fails"

Maybe, but if you try the same page in Firefox with NoScript, there's no delay 
or any other bizarre behavior. Firefox and Chrome are very different browsers, 
so perhaps it would be more meaningful to try again in Chrome with a similar 
extension.

Original comment by furex.fu...@gmail.com on 18 Feb 2012 at 3:44

GoogleCodeExporter commented 8 years ago
I do know that with Firefox you have direct access, while Chrome you have to go 
through the API. I don't know if it has changed but before you didn't so much 
block it (as in prevent it from even being requested), as you just removed it 
after the fact and prevented the javascript from running.

Original comment by Aren...@gmail.com on 18 Feb 2012 at 5:36

GoogleCodeExporter commented 8 years ago
"you just removed it after the fact"

Yes that has changed with 1.0.6.0. Before that you had to use the experimental 
build. See here for more info 
http://code.google.com/p/scriptno/wiki/ScriptNoExperimentalVersion

Original comment by furex.fu...@gmail.com on 18 Feb 2012 at 5:52