当前位置:网站首页>The location search property gets the login user name
The location search property gets the login user name
2022-07-05 08:47:00 【Wang Xiaoting】
Definition and Usage
search Property is a readable and writable string , You can set or return to the current URL The query part of ( question mark ? The next part ). grammar
location.searchNow get username=mote Get mote that will do
Open the browser's console Input
location searchCan get links ? Back section
Then segment the obtained string
Definition and Usage :split() Method is used to split a string into an array of strings . Then get the subscript value you want from the array
location.search.split("=")[1]
边栏推荐
- 多元线性回归(梯度下降法)
- 图解网络:什么是网关负载均衡协议GLBP?
- [daily training] 1200 Minimum absolute difference
- C# LINQ源码分析之Count
- [formation quotidienne - Tencent Selection 50] 557. Inverser le mot III dans la chaîne
- Redis implements a high-performance full-text search engine -- redisearch
- 猜谜语啦(11)
- Business modeling of software model | object modeling
- Numpy 小坑:维度 (n, 1) 和 维度 (n, ) 数组相加运算后维度变为 (n, n)
- 猜谜语啦(6)
猜你喜欢
随机推荐
Guess riddles (3)
Cmder of win artifact
Halcon: check of blob analysis_ Blister capsule detection
Bluebridge cup internet of things basic graphic tutorial - GPIO input key control LD5 on and off
2022.7.4-----leetcode. one thousand and two hundred
轮子1:QCustomPlot初始化模板
Pytorch entry record
【日常训练--腾讯精选50】557. 反转字符串中的单词 III
每日一题——输入一个日期,输出它是该年的第几天
[牛客网刷题 Day4] JZ35 复杂链表的复制
Guess riddles (8)
EA introduction notes
Halcon blob analysis (ball.hdev)
Tips 1: Web video playback code
Daily question - input a date and output the day of the year
GEO数据库中搜索数据
[formation quotidienne - Tencent Selection 50] 557. Inverser le mot III dans la chaîne
Halcon affine transformations to regions
猜谜语啦(142)
Shift operation of complement





![[牛客网刷题 Day4] JZ35 复杂链表的复制](/img/bc/ce90bb3cb6f52605255f1d6d6894b0.png)

