当前位置:网站首页>Navigator object
Navigator object
2022-06-24 18:35:00 【Brother Mengfan】
1、 What is? navigator object
navigator Object contains information about the browser .
console.log(navigator);console.log(navigator.plugins); <script>
function hasPlugin(name) {
name = name ? name.toLocaleLowerCase() : '';
console.log('name = ' + name);
var plugins = navigator.plugins;
for (var i = 0; i < plugins.length; i++) {
//console.log(typeof plugins[i]);
console.log(plugins[i].name);
return plugins[i].name.toLocaleLowerCase().indexOf(name) !== -1 ? true : false;
}
}
var r = hasPlugin('pdf');
console.log(r);
</script>边栏推荐
- Six configuration management tools that administrators must know
- [quick news] the jeecgboot low code platform was successfully selected into the 2021 scientific innovation China · open source innovation list
- Application service access configuration parameters
- Three indicators to help you measure the effectiveness of digital transformation
- 【leetcode】838. Push domino (Analog)
- Selection (031) -cool_ How long can secret be accessed?
- Rapidssl getting started SSL certificate
- How about China Power Investment Xianrong futures? Is it safe to open futures accounts?
- Is there a security risk in opening an account online? What to do if the business department opening an account nearby is far away from home. Is there any capital requirement for opening an account?
- Digital trend analysis of B2B e-commerce market mode and trading capacity in electronic components industry
猜你喜欢
Ultimate Guide: comprehensive analysis of log analysis architecture of Enterprise Cloud native PAAS platform

Considerations for it project demand analysis

Vite+web3:报错出现ReferenceError: process is not defined

Two micro service interviews where small companies suffer losses

Specification for self test requirements of program developers

Huitongda officially landed at the Hong Kong Stock Exchange: the gross profit margin continued to decline, and the book value of several shareholders still suffered losses

"2022" plans to change jobs and raise salary. It is necessary to ask interview questions and answers - browser
R language Quantitative Ecology redundancy analysis RDA analysis plant diversity species data visualization

Eight digit
![[NLP] 3 papers on how Stanford team builds a better chat AI](/img/f1/1c2ff31a728152395618800600df45.jpg)
[NLP] 3 papers on how Stanford team builds a better chat AI
随机推荐
Easygbs video platform TCP active mode streaming exception repair
Industry Cloud video editing software
How to select the best test cases for automation?
SAP license: SAP s/4 Hana module function introduction
Bigdecimalavoiddoubleconstructorrule: do not directly use the double variable as a parameter to construct BigDecimal
Tencent cloud TCS: an application-oriented one-stop PAAS platform
Business leaders compete for CIO roles
[NLP] 3 papers on how Stanford team builds a better chat AI
Sudoku (easy to understand)
持续助力企业数字化转型-TCE获得国内首批数字化可信服务平台认证
如何在 R 中创建线性模型预测区间 并可视化
25.sql statement differentiation
Number of occurrences of numbers in the array (medium difficulty)
How does the chief information security officer discuss network security with the enterprise board of directors
Seven strategies for successfully integrating digital transformation
About pyqt5 to realize paging function (one window implements different interfaces)
【你真的会用ES吗】ES基础介绍(一)
The country has made a move! Launch network security review on HowNet
congratulate! The first dragon lizard community annual outstanding contribution award is announced. Check it now
RestCloud ETL抽取动态库表数据实践