firefoxPref can't change javascript.enabled
|
11-23-2015, 09:16 PM
Post: #1
|
|||
|
|||
firefoxPref can't change javascript.enabled
Hello,
I have tried to measure a performance of a website without JS. I don't want just block js requests, but simulate that JS is disabled in the browser. So I gave a try to https://sites.google.com/a/webpagetest.o...irefoxPref - the setting itself seems to be working fine (e.g. firefoxPref general.useragent.override "TEST" is ok). But I do not see any difference between javascript.enabled (http://kb.mozillazine.org/Javascript.enabled) true or false: http://www.webpagetest.org/result/151123...1/details/ Code: firefoxPref javascript.enabled true Code: firefoxPref javascript.enabled false Two questions: 1. Is there anything specific about javascript.enabled? Is this an expected behavior? 2. Any recommendation how to simulate javascript disabled? |
|||
11-24-2015, 09:12 PM
Post: #2
|
|||
|
|||
RE: firefoxPref can't change javascript.enabled
Ok, there is an easier - trivial way - to disable JS. Trying to solve my issue I found https://github.com/WPO-Foundation/webpag...browser.cc and this piece of code
Code: if (_test._noscript) { |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)