Hi !
Featured games (85)
games approved by the League of Dukes
Games in Showcase (624)
Games in Android Showcase (176)
games submitted by our members
Games in WIP (676)
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 1781 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.

KaiHH (15 views)
2015-10-11 14:10:14

KaiHH (15 views)
2015-10-11 13:26:18

BurntPizza (45 views)
2015-10-08 03:11:46

BurntPizza (21 views)
2015-10-08 00:30:40

BurntPizza (26 views)
2015-10-07 17:15:53

BurntPizza (42 views)
2015-10-07 02:11:23

KaiHH (47 views)
2015-10-06 20:22:20

KaiHH (22 views)
2015-10-06 19:41:59

BurntPizza (38 views)
2015-10-06 19:04:48

basil_ (52 views)
2015-09-30 17:04:40
Math: Inequality properties
by Roquen
2015-10-01 13:30:46

Math: Inequality properties
by Roquen
2015-09-30 16:06:05

HotSpot Options
by Roquen
2015-08-29 11:33:11

Rendering resources
by Roquen
2015-08-17 12:42:29

Rendering resources
by Roquen
2015-08-17 09:36:56

Rendering resources
by Roquen
2015-08-13 07:40:51

Networking Resources
by Roquen
2015-08-13 07:40:43

List of Learning Resources
by gouessej
2015-07-09 11:29:36 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!