Author Archive

November 23, 2018

|

Tags: Google Chrome, NGINX, redirect 301

|

Categories: NGINX

Today I faced this problem, when configuring virtual hosts Nginx, after the customizations made and creating the appropriate configs, my subdomains began to refer through 301 Redirect to the main domain of the second level. First I decided to recheck the correctness of the configuration and whether CloudFlare or SSL certificate could provoke this problem. […]

November 22, 2018

|

Tags: bot, instagram, java, selenium, webdriver, xpath

|

Categories: Bot, Java, WebDriver

When writing a bot for Instagram, using a stack of technologies selenium Webdriver, Java, XPath, encountered a problem. Instagram is now trying to protect themselves from bots, so to disassemble it most interesting. The task arose, to get the number of Posts, Followers, the Following on the user’s open profile. This is what the HTML […]

November 21, 2018

|

Tags: Ajax, JavaScript, jQuery, JSON, PHP

|

Categories: AJAX, jQuery, PHP

In order to send a POST request to PHP script via JQUERY AJAX, create 2 files: jqtest.htm – in which will be the request form and JavaScript code to generate and send the request; jqtest.php – for receiving and sending the answer. Listing of the file jqtest.htm: <div> <label for=”request”>Request: </label> <input id=”request”> <input type=”submit” value=”Send” onclick=”send();”> […]

November 19, 2018

|

Tags: Ajax, corb, fix, jQuery, JSON, PHP

|

Categories: jQuery, JSON

Each… You can listen, but not everyone is worth talking to. Arthur Schendhauer When you try to send a jQuery JSON request from another domain, you receive an error: Access to XMLHttpRequest at ‘ http://* ‘ from Origin ‘ http://* ‘ has been blocked by CORS policy: No ‘ Access-Control-Allow-Origin ‘ header is present on […]

2
2
image
https://inc1.net/wp-content/themes/vanguarda/
https://inc1.net/en/main/
#f0bd65
style3
scrollauto
Loading posts...
/var/www/inc1.net/
#
on
none
loading
#
Sort Gallery
on
yes
yes
off
off
off
en