This repository has been archived by the owner. It is now read-only.
Zajn and ariya Update selector in useragent example to prevent TypeError
The DOM structure of the page that is retrieved by useragent.js
has changed since the example was last updated, and the selector
for the user agent value no longer exists. This causes a TypeError
to be output to the user when running the example. This updates
the example to use a selector that exists on the page.

#15392
Latest commit 9bbd1ab May 30, 2018
Permalink
..
Failed to load latest commit information.
arguments.js Add "use strict"; declaration to all example scripts. Dec 22, 2015
child_process-examples.js Add "use strict"; declaration to all example scripts. Dec 22, 2015
colorwheel.js Add "use strict"; declaration to all example scripts. Dec 22, 2015
countdown.js Add "use strict"; declaration to all example scripts. Dec 22, 2015
detectsniff.js Add "use strict"; declaration to all example scripts. Dec 22, 2015
echoToFile.js Fix whitespace errors introduced in recent commits Jan 19, 2016
features.js Fix whitespace errors introduced in recent commits Jan 19, 2016
fibo.js Add "use strict"; declaration to all example scripts. Dec 22, 2015
hello.js Add "use strict"; declaration to all example scripts. Dec 22, 2015
injectme.js Fix whitespace errors introduced in recent commits Jan 19, 2016
loadspeed.js Add "use strict"; declaration to all example scripts. Dec 22, 2015
loadurlwithoutcss.js Add "use strict"; declaration to all example scripts. Dec 22, 2015
modernizr.js update modernizr to 2.8.2 - specifically shows phantomjs supports "le… Aug 20, 2014
module.js Add "use strict"; declaration to all example scripts. Dec 22, 2015
netlog.js Add "use strict"; declaration to all example scripts. Dec 22, 2015
netsniff.js Add "use strict"; declaration to all example scripts. Dec 22, 2015
openurlwithproxy.js Fix whitespace errors introduced in recent commits Jan 19, 2016
outputEncoding.js Add "use strict"; declaration to all example scripts. Dec 22, 2015
page_events.js Add "use strict"; declaration to all example scripts. Dec 22, 2015
pagecallback.js Add "use strict"; declaration to all example scripts. Dec 22, 2015
phantomwebintro.js Fix whitespace errors introduced in recent commits Jan 19, 2016
post.js Add "use strict"; declaration to all example scripts. Dec 22, 2015
postjson.js Add "use strict"; declaration to all example scripts. Dec 22, 2015
postserver.js Strict mode forbids implicit creation of global property (#14411) Mar 6, 2018
printenv.js printenv.js: New example to show system.env. Mar 15, 2012
printheaderfooter.js Add "use strict"; declaration to all example scripts. Dec 22, 2015
printmargins.js Add "use strict"; declaration to all example scripts. Dec 22, 2015
rasterize.js #13976 - 'global variables are forbidden in strict mode' issue fixed May 6, 2016
render_multi_url.js Add "use strict"; declaration to all example scripts. Dec 22, 2015
responsive-screenshot.js responsive screenshot example Dec 2, 2015
run-jasmine.js Add "use strict"; declaration to all example scripts. Dec 22, 2015
run-jasmine2.js Upgrade example to run with Jasmine 2.4.1 Mar 6, 2018
run-qunit.js Add "use strict"; declaration to all example scripts. Dec 22, 2015
scandir.js Add "use strict"; declaration to all example scripts. Dec 22, 2015
server.js Add "use strict"; declaration to all example scripts. Dec 22, 2015
serverkeepalive.js Add "use strict"; declaration to all example scripts. Dec 22, 2015
simpleserver.js Add "use strict"; declaration to all example scripts. Dec 22, 2015
sleepsort.js Add "use strict"; declaration to all example scripts. Dec 22, 2015
stdin-stdout-stderr.js Add "use strict"; declaration to all example scripts. Dec 22, 2015
universe.js Fix whitespace errors introduced in recent commits Jan 19, 2016
unrandomize.js Add "use strict"; declaration to all example scripts. Dec 22, 2015
useragent.js Update selector in useragent example to prevent TypeError Jun 2, 2018
version.js Add "use strict"; declaration to all example scripts. Dec 22, 2015
waitfor.js Fix whitespace errors introduced in recent commits Jan 19, 2016
walk_through_frames.js Fix whitespace errors introduced in recent commits Jan 19, 2016