Hack Forums
[.NET] Change User Agent On Gecko? - Printable Version

+- Hack Forums (https://hackforums.net)
+-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444)
+--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151)
+---- Forum: Software Development (https://hackforums.net/forumdisplay.php?fid=118)
+---- Thread: [.NET] Change User Agent On Gecko? (/showthread.php?tid=5144066)



Change User Agent On Gecko? - AnonCensored - Jan 23, 2016

So I want to change the user agent to this
Quote:Mozilla/5.0 (Windows NT 10.0; WOW64; rv:43.0) Gecko/20100101 Firefox/43.0


I've tried the following
http://www.vbforums.com/showthread.php?628310-RESOLVED-How-to-change-user-agent
http://stackoverflow.com/questions/14653627/how-to-set-user-agent-in-geckofx

Neither have worked for me I end up this error.

[Image: RNbWSUh.png]

Code's I've tried :
Spoiler (Click to View)

Does Gecko no longer support user agent change anymore ? Or I'm probably doing something wrong