Generally, when your website uses Blogspot, it always shows '? M = 1' every time you view it on your phone. This feature is created to indicate that the blog is showing a mobile theme because in the past, the blogger template was not modern. But nowadays, all blog templates are modern, both existing templates and additional templates, so we can hide '? M = 1' from showing up so that it looks like a 100% pure website.
Install JavaScript code to avoid '? m = 1' in URL field
Step 1: First of all, log in to your Blogger Dashboard.
Step 2: On your Blogger Dashboard, click Theme.
Step 3: Click the down arrow icon next to the 'customize' button.
Step 4: Click Edit HTML. You will be redirected to the editing page.
<script type = 'text / javascript'>
// <! [CDATA [
var uri = window.location.toString ();
if (uri.indexOf ("% 3D", "% 3D")> 0) {
var clean_uri = uri.substring (0, uri.indexOf ("% 3D"));
window.history.replaceState ({}, document.title, clean_uri);
}
var uri = window.location.toString ();
if (uri.indexOf ("% 3D% 3D", "% 3D% 3D")> 0) {
var clean_uri = uri.substring (0, uri.indexOf ("% 3D% 3D"));
window.history.replaceState ({}, document.title, clean_uri);
}
var uri = window.location.toString ();
if (uri.indexOf ("& m = 1", "& m = 1")> 0) {
var clean_uri = uri.substring (0, uri.indexOf ("& m = 1"));
window.history.replaceState ({}, document.title, clean_uri);
}
var uri = window.location.toString ();
if (uri.indexOf ("? m = 1", "? m = 1")> 0) {
var clean_uri = uri.substring (0, uri.indexOf ("? m = 1"));
window.history.replaceState ({}, document.title, clean_uri);
}
//]]>
</script>
Step 5: Now add the above JavaScript code above the </body> tag.
Step 6: Save the changes by clicking on this icon.
I hope you have used the above tips effectively. If your blog uses a purchased domain, then this tip will help your blog look like a normal website.