diff options
| author | Richard Linden <none@none> | 2010-11-15 15:52:54 -0800 |
|---|---|---|
| committer | Richard Linden <none@none> | 2010-11-15 15:52:54 -0800 |
| commit | 50d21a75a7c6a41a5a3355a8c4406a33454c70dd (patch) | |
| tree | e2fe3e855d710700cd956b505a3f0548038c9dac /indra/newview/llweb.cpp | |
| parent | e8e1d7e629b9a4a65cde766ed81334140a749428 (diff) | |
| parent | 4bdac3f152862b257b9babe9b5a43329c9f544f9 (diff) | |
merge
Diffstat (limited to 'indra/newview/llweb.cpp')
| -rw-r--r-- | indra/newview/llweb.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/indra/newview/llweb.cpp b/indra/newview/llweb.cpp index 73a37a6993..6028a8fbea 100644 --- a/indra/newview/llweb.cpp +++ b/indra/newview/llweb.cpp @@ -116,6 +116,13 @@ void LLWeb::loadURLExternal(const std::string& url, bool async, const std::strin // Act like the proxy window was closed, since we won't be able to track targeted windows in the external browser. LLViewerMedia::proxyWindowClosed(uuid); + if(gSavedSettings.getBOOL("DisableExternalBrowser")) + { + // Don't open an external browser under any circumstances. + llwarns << "Blocked attempt to open external browser." << llendl; + return; + } + LLSD payload; payload["url"] = url; LLNotificationsUtil::add( "WebLaunchExternalTarget", LLSD(), payload, boost::bind(on_load_url_external_response, _1, _2, async)); |
