Is Mobile

Developer
Size
1,557 Kb
Views
10,120

How do I make an is mobile?

A simple script to find out if page is opened in mobile device.. What is a is mobile? How do you make a is mobile? This script and codes were developed by Jay on 14 January 2023, Saturday.

Is Mobile Previews

Is Mobile - Script Codes HTML Codes

<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>Is Mobile</title>
</head>
<body> <div id="open-with"></div> <script src="js/index.js"></script>
</body>
</html>

Is Mobile - Script Codes JS Codes

 function isMobile() { if( navigator.userAgent.match(/Android/i) || navigator.userAgent.match(/webOS/i) || navigator.userAgent.match(/iPhone/i) || navigator.userAgent.match(/iPad/i) || navigator.userAgent.match(/iPod/i) || navigator.userAgent.match(/BlackBerry/i) || navigator.userAgent.match(/Windows Phone/i) ){ return true; } else { return false; } }	if (isMobile()) {	document.getElementById('open-with').textContent="Opened in mobile"; } else {	document.getElementById('open-with').textContent="Opened in browser"; }
Is Mobile - Script Codes
Is Mobile - Script Codes
Home Page Home
Developer Jay
Username jaycode
Uploaded January 14, 2023
Rating 3
Size 1,557 Kb
Views 10,120
Do you need developer help for Is Mobile?

Find the perfect freelance services for your business! Fiverr's mission is to change how the world works together. Fiverr connects businesses with freelancers offering digital services in 500+ categories. Find Developer!

Jay (jaycode) Script Codes
Create amazing art & images with AI!

Jasper is the AI Content Generator that helps you and your team break through creative blocks to create amazing, original content 10X faster. Discover all the ways the Jasper AI Content Platform can help streamline your creative workflows. Start For Free!