Hi !
Featured games (91)
games approved by the League of Dukes
Games in Showcase (757)
Games in Android Showcase (229)
games submitted by our members
Games in WIP (843)
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 3530 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  

EgonOlsen (42 views)
2018-06-10 19:43:48

EgonOlsen (22 views)
2018-06-10 19:43:44

EgonOlsen (43 views)
2018-06-10 19:43:20

DesertCoockie (197 views)
2018-05-13 18:23:11

nelsongames (124 views)
2018-04-24 18:15:36

nelsongames (123 views)
2018-04-24 18:14:32

ivj94 (863 views)
2018-03-24 14:47:39

ivj94 (124 views)
2018-03-24 14:46:31

ivj94 (768 views)
2018-03-24 14:43:53

Solater (140 views)
2018-03-17 05:04:08
Java Gaming Resources
by philfrei
2017-12-05 19:38:37

Java Gaming Resources
by philfrei
2017-12-05 19:37:39

Java Gaming Resources
by philfrei
2017-12-05 19:36:10

Java Gaming Resources
by philfrei
2017-12-05 19:33:10

List of Learning Resources
by elect
2017-03-13 14:05:44

List of Learning Resources
by elect
2017-03-13 14:04:45

SF/X Libraries
by philfrei
2017-03-02 08:45:19

SF/X Libraries
by philfrei
2017-03-02 08:44:05 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!