There are many SO questions how to get http headers with javascript, but for some reason they don't show up HTTP_CF_IPCOUNTRY header.  If I try to do with php echo $_SERVER["HTTP_CF_IPCOUNTRY"];, it works, so CF is working just fine.  Is...
I have several plugins on my wordpress site which relies on the wp_enqueue_script function. Recently I've had a client who's using Cloudflare who wants to implement Rocket Loader which is an automatic javascript async loader. The issue is tha...
Cloudflare changes the ip addresses of incomming requests because Cloudflare is a middleware between my website and the internet, a proxy.   How should I get the initial ip address of the request, not Cloudflare its IP address. I heard about the mod_...
I need to disabled Cloudflare Rocketloader for a specific JavaScript file and I have spent a few hours reading and trying out different solutions with no success. I am running WordPress and need to omit the Automatic Rocket Loader for a specific .js...
I'm currently modify a site left from the previous developer. I'm working to modify some javascript. However, all of my changes only works in my localhost site, and not the staging site. I viewed the source code on browsers and see those scri...
I use a Cloudflare worker to redirect visitors to the correct website version like this:  addEventListener('fetch', event => {     event.respondWith(handleRequest(event.request))   })    /**    * Respond to the request    * @param {Request...
We have a number of pages where the only dynamic content is the user info (Name, profile link, # of items in shopping bag) which is at the top corner. These pages can take upto a second or more to load sometimes.  We are thinking of changing the page...
There's an error in the code, but I can't figure out what.  Uncaught (in promise) ReferenceError: req is not defined     at doRedirects (VM8 worker.js:6)     at event (VM8 worker.js:2) Uncaught (in response) ReferenceError: req is not defined...
I'm making a cloud flare app for custom scrollbars and i know what i'm asking is simple for someone that knows java script more then me but i cant find any tutorials anyway i'll just get to it.  I need to add a <style> element with...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.