一 同源策略 同源策略(Same origin policy)是一种约定,它是浏览器最核心也最基本的安全功能 如果缺少了同源策略,则浏览器的正常功能可能都会受到影响。可以说Web是构建在同源策略基础之上的,浏览器只是针对同源策略的一种实现 请求的url地址,必须与浏览器上的url地址处于同域上,也就 ...
分类:
其他好文 时间:
2021-01-12 10:39:26
阅读次数:
0
获取豆瓣https://movie.douban.com/top250的,第一页前25个电影名字 我的答案: import requests from bs4 import BeautifulSoup head={"user-agent": "Mozilla/5.0 (Windows NT 10.0 ...
分类:
编程语言 时间:
2021-01-11 11:30:43
阅读次数:
0
下载链接 321工具站 https://www.321tool.com/book/detail/21 封面 内容简介 《Head First设计模式》(中文版)共有14章,每章都介绍了几个设计模式,完整地涵盖了四人组版本全部23个设计模式。前言先介绍这本书的用法;第1章到第11章陆续介绍的设计模式为 ...
分类:
其他好文 时间:
2021-01-11 11:21:33
阅读次数:
0
#include <iostream> #include <vector> #include <string> using namespace std; struct Node { int data; Node * next; }; Node * reverseList(Node * head) { ...
分类:
其他好文 时间:
2021-01-11 11:11:15
阅读次数:
0
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>基于CSS3的3D立方体旋转动画</title> <style> /* 3d旋转样式 */ .cub { width: 2.5rem; height: 2.5rem; positi ...
分类:
其他好文 时间:
2021-01-11 11:09:41
阅读次数:
0
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <meta charset="utf-8"> 5 <title></title> 6 <style type="text/css"> 7 /* 8 相对定位特点 9 1.不会离文档流 占位 所有后面的元素不会往前跑 10 2 ...
分类:
其他好文 时间:
2021-01-11 11:05:23
阅读次数:
0
实现效果: 代码: <!DOCTYPE html> <html lang="zh"> <head> <meta charset="UTF-8"> <title>Title</title> </head> <body> <div id="app"> <p>{{time}}</p> <p>过滤后:{{t ...
分类:
Web程序 时间:
2021-01-11 10:43:07
阅读次数:
0
终于到了shared ptr 首先看一下std::make_shared 可能有人不知道stdpair是什么,接下来的例子是和stdpair有关系的, first和second是第一个成员和第二个成员,然后我们可以发现,第一个first和第二个second竟然可以不一样 // make_pair e ...
分类:
其他好文 时间:
2021-01-08 11:22:07
阅读次数:
0
position: <html lang="zh"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equiv="X-UA ...
分类:
Web程序 时间:
2021-01-08 11:15:12
阅读次数:
0
仅供个人学习研究使用 from Crypto.Cipher import AES # 非对称加密 import rsa # 对成加密 import execjs # PyExecJs可以使用Python模拟运行js代码 import base64 import requests first_para ...
分类:
其他好文 时间:
2021-01-07 12:42:58
阅读次数:
0