Java-Gaming.org Hi !
Featured games (83)
games approved by the League of Dukes
Games in Showcase (539)
Games in Android Showcase (132)
games submitted by our members
Games in WIP (603)
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 1609 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 :
1  
<!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 | www.houseofgames.altervista.org 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/cf.errors.ie.css" 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="//cdnjs.cloudflare.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script><![endif]--><!--[if gte IE 9]><!--><script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/zepto/1.0/zepto.min.js"></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 (www.houseofgames.altervista.org) 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>: xx.xx.xxx.xxx</span>    <span class="cf-footer-separator">•</span>    <span class="cf-footer-item"><a data-orig-proto="https" data-orig-ref="cloudflare.com/support" 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="cloudflare.com" 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.

 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

rwatson462 (33 views)
2014-12-15 09:26:44

Mr.CodeIt (23 views)
2014-12-14 19:50:38

BurntPizza (51 views)
2014-12-09 22:41:13

BurntPizza (84 views)
2014-12-08 04:46:31

JscottyBieshaar (45 views)
2014-12-05 12:39:02

SHC (59 views)
2014-12-03 16:27:13

CopyableCougar4 (59 views)
2014-11-29 21:32:03

toopeicgaming1999 (123 views)
2014-11-26 15:22:04

toopeicgaming1999 (114 views)
2014-11-26 15:20:36

toopeicgaming1999 (32 views)
2014-11-26 15:20:08
Resources for WIP games
by kpars
2014-12-18 10:26:14

Understanding relations between setOrigin, setScale and setPosition in libGdx
by mbabuskov
2014-10-09 22:35:00

Definite guide to supporting multiple device resolutions on Android (2014)
by mbabuskov
2014-10-02 22:36:02

List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50
java-gaming.org 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‑gaming.org
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!