Hi !
Featured games (88)
games approved by the League of Dukes
Games in Showcase (679)
Games in Android Showcase (194)
games submitted by our members
Games in WIP (731)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  [LibGDX] Change User Agent in web  (Read 1956 times)
0 Members and 1 Guest are viewing this topic.
Offline grevius
« Posted 2013-11-28 17:08:54 »

When i try to connect to a php web page to my site, CloudFlare, a service that i can't disable, block my ip and deny me to connect, but this only on pc, not on android or other.
I want to know how i can resolve it, i have to chage the user agent of libgdx or what else?
The page that i get is this :
<!DOCTYPE html><!--[if lt IE 7]> <html class="no-js ie6 oldie" lang="en-US"> <![endif]--><!--[if IE 7]>    <html class="no-js ie7 oldie" lang="en-US"> <![endif]--><!--[if IE 8]>    <html class="no-js ie8 oldie" lang="en-US"> <![endif]--><!--[if gt IE 8]><!--> <html class="no-js" lang="en-US"> <!--<![endif]--><head><title>Access denied | used CloudFlare to restrict access</title><meta charset="UTF-8" /><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1" /><meta name="robots" content="noindex, nofollow" /><meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1" /><link rel="stylesheet" id="cf_styles-css" href="/cdn-cgi/styles/cf.errors.css" type="text/css" media="screen,projection" /><!--[if lt IE 9]><link rel="stylesheet" id='cf_styles-ie-css' href="/cdn-cgi/styles/" type="text/css" media="screen,projection" /><![endif]--><style type="text/css">body{margin:0;padding:0}</style><!--[if lt IE 9]><script type="text/javascript" src="//"></script><![endif]--><!--[if gte IE 9]><!--><script type="text/javascript" src="//"></script><!--<![endif]--><script type="text/javascript" src="/cdn-cgi/scripts/cf.common.js"></script></head><body>  <div id="cf-wrapper">    <div class="cf-alert cf-alert-error cf-cookie-error" id="cookie-alert" data-translate="enable_cookies">Please enable cookies.</div>    <div id="cf-error-details" class="cf-error-details-wrapper">      <div class="cf-wrapper cf-header cf-error-overview">        <h1>Error 1010</h1>        <h2 class="cf-subheadline">Access denied</h2>      </div><!-- /.header -->      <section></section><!-- spacer -->      <div class="cf-section cf-wrapper">        <div class="cf-columns two">          <div class="cf-column">            <h2>What happened?</h2>            <p>The owner of this website ( has banned your access based on your browser's signature (d3ff78e3cd40497-ua21).</p>          </div>                  </div>      </div><!-- /.section -->      <div class="cf-error-footer cf-wrapper">  <p>    <span class="cf-footer-item">CloudFlare Ray ID: <strong>d3ff78e3cd40497</strong></span>    <span class="cf-footer-separator">•</span>    <span class="cf-footer-item"><span data-translate="your_ip">Your IP</span>:</span>    <span class="cf-footer-separator">•</span>    <span class="cf-footer-item"><a data-orig-proto="https" data-orig-ref="" id="support_link" data-translate="help" target="_blank">Help</a></span>    <span class="cf-footer-separator">•</span>    <span class="cf-footer-item"><span data-translate="performance_security_by">Performance & security by</span> <a data-orig-proto="https" data-orig-ref="" id="cloudflare_link" target="_blank">CloudFlare</a></span>      </p></div><!-- /.error-footer -->    </div><!-- /#cf-error-details -->  </div><!-- /#cf-wrapper -->  <script type="text/javascript">  window._cf_translation = {};    </script></body></html>
Pages: [1]
  ignore  |  Print  
You cannot reply to this message, because it is very, very old.

Mac70 (14 views)
2016-05-24 21:16:33

theagentd (40 views)
2016-05-14 18:38:35

theagentd (71 views)
2016-05-10 22:37:41

theagentd (75 views)
2016-05-10 22:33:46

IanParcs (107 views)
2016-04-18 14:18:53

KaiHH (100 views)
2016-04-18 08:35:41

KaiHH (128 views)
2016-04-15 12:43:58

theagentd (132 views)
2016-04-14 02:16:17

theagentd (154 views)
2016-04-14 02:15:43

IanParcs (247 views)
2016-04-12 03:51:16
FPS Camera Tutorial
by Hydroque
2016-05-22 05:40:58

Website offering 3D Models specifically for games for free
by vusman
2016-05-18 17:23:09

Website offering 3D Models specifically for games for free
by vusman
2016-05-09 08:50:56

Website offering 3D Models specifically for games for free
by vusman
2016-05-06 11:10:21

Website offering 3D Models specifically for games for free
by vusman
2016-04-29 12:56:17

List of Learning Resources
by SilverTiger
2016-02-05 09:39:47

List of Learning Resources
by SilverTiger
2016-02-05 09:38:38

List of Learning Resources
by SilverTiger
2016-02-05 09:35:50 is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!