WPS guide for browser application integration

Because the WPS plug-in uses NPAPI mechanism to interact with browsers, it is required that browsers using plug-ins must support NPAPI mechanism and enable NPAPI mechanism. The following are common supported browsers and their versions: FireFox browser 52 and versions less than 52 (NPAPI is no longer supported for versions higher than 52) Chr ...

Posted by jme on Thu, 16 Jan 2020 23:02:03 -0800

Tomcat Server Varnish Proxy Server

Tomcat Server Overview Introduction to Java Java is a cross-platform, object-oriented programming language. Java technology has excellent versatility, efficiency, platform portability and securitysystem Java SE (Standard Edition) Java EE (Enterprise Edition) Introduction to JDK JDK(Java Devel ...

Posted by L0j1k on Wed, 15 Jan 2020 17:40:27 -0800

Solve cross domain -- postMessage

Principle and implementation of postMessage In order to solve the problem of cross domain, HTML5 introduces a new API: Cross Document Messaging. This API adds a window.postMessage method to the window object to allow cross window communication, regardless of whether the two windows are homologous or ...

Posted by l053r on Wed, 15 Jan 2020 03:27:45 -0800

Is there a way to detect if the browser window is currently inactive?

My JavaScript is active on a regular basis. When the user does not view the site (that is, the window or tab does not have focus), it is best not to run. Is there a way to do this with JavaScript? My reference point: if the window you are using is not activated, Gmail chat will play sound. #1 building Since the initial writing of t ...

Posted by Shifty Geezer on Wed, 08 Jan 2020 07:22:31 -0800

Problems encountered in the use of El input

1. When type=number or v-model.number maxlength is invalid because the attribute is valid for text, textarea, and password types. When type=number, the binding input is of type Number and cannot get length. 2. Global matching of phone numbers, verification codes (numbers only), and prices (numbers and decimal points only) Note: type must be ...

Posted by gvanaco on Mon, 06 Jan 2020 08:40:46 -0800

JS DOM Properties+JS Events

DOM Properties console.log(ele.attributes) Gets the collection of attributes of an ele element ele.attributes.getNamesItem(attr).nodeValue Gets the specified attribute value ele.attributes[attr].nodeValue Gets the specified attribute value ele.attributes.removeNamedItem(attr) Deletes the specified attribute     Create attributes and assign val ...

Posted by craka on Sun, 05 Jan 2020 11:50:33 -0800

python3 crawler grabs job information code of Zhilian

On the code, if you have any questions, please leave a message. # -*- coding: utf-8 -*- """ Created on Tue Aug 7 20:41:09 2018 @author: brave-man blog: http://www.cnblogs.com/zrmw/ """ import requests from bs4 import BeautifulSoup import json def getDetails(url): headers = {'User-Agent': 'Mozilla/5.0 (Windows NT 6.1; WOW64; rv:6.0) Geck ...

Posted by sonny on Sun, 05 Jan 2020 10:45:34 -0800

Spring is here, take you home with python!

Unconsciously, the annual Spring Festival ticket grabbing screen has been pulled open, want to grab the ticket home quickly?As a programmer, you must know about these techniques. In order to make it faster and more convenient for people to grab train tickets, a variety of software for grabbing tickets should be created, most of which are mecha ...

Posted by sirmanson on Sat, 04 Jan 2020 07:40:03 -0800

Get the link of meipai video -- JS analysis

Meipai link: https://www.meipai.com/ Find the label of the video link. This div is not in the source code adopt Fiddler grabs the bag , find which js file generated the div of class="mp-h5-player-layer-video" Open the corresponding js file, breakpoint it, and find the way to generate src Find the src parameter in this position A ...

Posted by tefuzz on Sat, 04 Jan 2020 01:31:47 -0800

Previous report Highcharts

Data download: http://www.highcharts.com/download Download File: Open after decompression: We can copy all the files under js to our project, for example, I put them in the highcharts folder 1. Import the highcharts file: <script type="text/javascript" src="../js/jquery-1.8.3.js"></script> <!--highchart ...

Posted by jitesh on Thu, 02 Jan 2020 01:48:03 -0800