Web API learning notes day05, 06, 07
1.offset series
Offset, offset, can only be obtained and cannot be changed
offsetTop: returns the offset (Y-axis size) of the element above the parent element with positioning. If not, it is the distance to the bodyoffsetLeft: returns the offset (Y-axis size) of the element from the left border of the positioned parent element. If not, it is ...
Posted by zorgon on Fri, 05 Nov 2021 14:43:09 -0700
Python crawler from entry to mastery: (43) JS reverse: perfect world RAS reverse_ Python Taoge
There are many games in perfect world. The more famous ones are Zhu Xian, world of Warcraft and so on. Perfect today, let's take a look at the reverse analysis of the landing of the perfect world!
JS reverse parsing
There is a click authentication when logging in. Never mind, perfect ignore it first and click directly. Perfect mainly discus ...
Posted by therainmaker53 on Thu, 04 Nov 2021 22:48:49 -0700
Vue3.x quickly get started with the main functions of Vue3.x
Create Vue3.x framework Demo
<script src="https://unpkg.com/vue@next"></script>
<body>
<div id="app">
{{title}}
</div>
<script>
const {createApp} = Vue
const app= createApp({
data(){
return {
title:123
}
}
})
let vm = app.mount('#app')
</sc ...
Posted by Twister1004 on Thu, 04 Nov 2021 19:35:14 -0700
[suggestions collection] how many 32+ vue modifiers do you master?
prefacevue is simple and easy to use, which is reflected in many places. For example, it has a built-in 32 + modifier, which can be very convenient for us to prevent bubbles, prevent default events, mouse event processing, system keyboard events, etc., so that we can quickly handle business. It's not too convenient!!!After 15 minutes, you can g ...
Posted by shrive22 on Thu, 04 Nov 2021 18:44:23 -0700
Vue template syntax
catalogue
1: Interpolation
Example 1:
2: Instruction
Example 2:
3: Dynamic parameters
Example 3:
4, Filter
Global filter
Local filter
Example 4
V. calculation attribute and listening attribute
Example 5
1: Interpolation
① Text {{msg}} ② html &nbs ...
Posted by strangebeer on Thu, 04 Nov 2021 17:18:36 -0700
2021 CNSS WEB part WP
Web
Signin
At the beginning, Please Change Your Method!, The source code can be obtained by modifying the packet capture method to the POST method
<?php
error_reporting(0);
require_once("flag.php");
if($_SERVER['REQUEST_METHOD'] !=='POST'){
die("Please Change Your Method!");
exit();
}else{
if(!isset($_POST["CNSS"])){
s ...
Posted by hstraf on Thu, 04 Nov 2021 15:14:43 -0700
Interviewer: optimize Fibonacci function with "tail recursion"
1 PrefaceProgramming problem: input an integer n and output the nth item of Fibonacci sequenceSome interviewers like to ask this question. Maybe you think it's too simple. It can be realized at once by recursion or recursion.Just when you are full of confidence and realize it in two waysInterviewer: now please optimize your recursive implementa ...
Posted by programming_passion on Thu, 04 Nov 2021 11:09:32 -0700
Front end learning notes Webpack
Front end learning notes Webpack
1. Introduction to webpack
This section gives a brief introduction to Webpack.
1.1 basic introduction
Webpack:
A front-end resource building tool, a static module bundler.
In the view of webpack, all resource files (js/json/css/img/less /...) of the front end will be processed as modules.
It wi ...
Posted by dennismcdougall on Thu, 04 Nov 2021 03:46:53 -0700
Shallow copy and deep copy of JavaScript
There are a lot of discussions on this topic on the Internet. I sorted it out myself according to various situations. Finally, I can approach the perfect realization of deep copy. Welcome to discuss.
Objects in javascript are reference types. When copying objects, you should consider whether to use shallow copy or deep copy.
Direct assignment ...
Posted by dougp23 on Thu, 04 Nov 2021 03:39:46 -0700
Interviewer: optimize Fibonacci function with "tail recursion"
1 Preface
Programming problem: input an integer n and output the nth item of Fibonacci sequence
Some interviewers like to ask this question. Maybe you think it's too simple. It can be realized at once by recursion or recursion.
Just when you are full of confidence and realize it in two ways
Interviewer: now please optimize your recursi ...
Posted by oneski on Wed, 03 Nov 2021 21:41:11 -0700