PDF is generated at the front end to impress the back end

PDF introduction The full name of PDF is Portable Document Format (PDF). The display of this format has nothing to do with the operating system, resolution, device and other factors. PDF format is common in Windows, Unix and Apple's Mac OS operating system. Adobe created this file format for document transmission in 1993. This format uses Post ...

Posted by XtacY on Wed, 23 Feb 2022 08:53:46 +0100

In the browser, run Vite!

First official account Front end from advanced to admission , welcome to pay attention. Hello, I'm ssh. I saw Francois Valdy announce that he made it when I was pushing surfing the other day browser-vite , Vite was successfully run in the browser. This aroused my interest. How to run a Vite heavily dependent on node on the browser? Next, let ...

Posted by bmyster on Mon, 10 Jan 2022 08:22:50 +0100

A little trick makes it easy for Selenium to deal with scrollbars and element focus

01 JS processing scroll bar Execute via webdriver_ The script () method executes the JS script operation scroll bar Right scroll bar Firefox browser and Chrome browser use different syntax. It is listed in the following area. It looks like Google browser 71 general Firefox # Firefox browser scrolls to the bottom js = "var q=document.docum ...

Posted by Retired Bill on Wed, 08 Dec 2021 05:07:42 +0100

JavaScript Sanitizer API: the native WEB security API appears

On October 18, the Web Platform Incubator Community Group in W3C published the draft specification of HTML Sanitizer API. This draft is used to solve the problem of how browsers solve XSS attacks. XSS cross site scripting attacks are a headache for developers in network security. This attack usually refers to injecting malicious instruction ...

Posted by jackohara on Wed, 01 Dec 2021 19:55:14 +0100

Leading plan Day003Html

Media elements and forms 1. Media elements 1-1. Picture image abbreviation empty element <!--src Picture address (absolute or relative path) source--> <!--alt Picture alternative text--> <!--title Mouse hover text--> <!--width height Width and height of the picture--> <!--usemap The Image Map element Operate o ...

Posted by johnnyk on Thu, 04 Nov 2021 23:46:18 +0100

2020, eight essential Selenium tips for writing automated use cases

When you start automation, you may encounter various methods, technologies, frameworks, and tools that may be included in your automation code. Sometimes, this versatility results in more complex code than providing better flexibility or better ways to solve problems. When writing automated code, it's i ...

Posted by nev25 on Tue, 09 Jun 2020 08:31:59 +0200

chrome + IDM + oil monkey plug-in to realize high-speed download of large files on Baidu online disk

chrome + IDM + oil monkey plug-in realizes the high-speed download of large files on Baidu online disk; this is a very mature technology, with fast download speed and no need to worry about being sealed 1. Download chrome. If you skip it directly, you don't need to read it 2. Download idm software ...

Posted by SquirrelJ on Sun, 07 Jun 2020 11:06:41 +0200

Understanding of offset, curl and visibility

Offset Offset dimension is an important concept in javascript. offsetLeft, offsetTop, offsetHeight and offsetWidth are the four attributes related to offsets. Of course, there is also an offset reference -- positioning the parent offsetParent. This article will introduce this part in detail                 ...

Posted by Helljumper on Sat, 09 May 2020 10:09:11 +0200

Using input input box to achieve nice check box effect (css+jq)

After the completion of the design, it is really a barrier and long QAQ. When using a check box, because it is too ugly to abandon the check box, I made one myself. There is no picture in it, which is implemented by css and jQuery. The final effect can be seen directly without much nonsense: The html element is design ...

Posted by daftdog on Fri, 01 May 2020 08:33:11 +0200

Python data visualization (Pygal, svg, csv, Bar, Line)

1. pygal (chart type Bar) The Python visualization package Pygal will be used to generate scalable vector graphics files Official pygal document: [www.pygal.org/en/stable/]( http://www.pygal.org/en/stable/) 1. Install pygal pip install pygal -i https://pypi.tuna.tsinghua.edu.cn/simple 2. Simple python charts import pygal pygal.Bar()(1, 3, 3, 7 ...

Posted by Ark3typ3 on Sat, 11 Apr 2020 02:22:41 +0200