Forum Discussion

GEEK_21's avatar
GEEK_21
Copper Contributor
Feb 16, 2023
Solved

How to stop meta refresh on Excel VBA

Hello everyone I want to enter data on a website via webdriver of the vba excel. But the website redirects directly to Google. So how can I stop it?

 

<head>
    <meta charset="utf-8" />
    <title>وزارة التربية الوطنية</title>
    <meta name="description" content="" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0" />
    <link rel="icon" type="image/png" href="https://amatti.education.gov.dz/assets/img/education_leaf_school_inspiration_vector_logo_design.png" />

    <link href="https://amatti.education.gov.dz/admin/css/normalize.css" type="text/css" rel="stylesheet" />
    <link href="https://amatti.education.gov.dz/admin/css/index.css" type="text/css" rel="stylesheet" />
    <link href="https://amatti.education.gov.dz/admin/css/mobile-reset.css" type="text/css" rel="stylesheet" />
    <link href="https://amatti.education.gov.dz/admin/css/mobile.css" type="text/css" rel="stylesheet" />

    <link rel="stylesheet" type="text/css" href="https://amatti.education.gov.dz/assets/css/fonts.css" media="all">
    <link rel="stylesheet" type="text/css" href="https://amatti.education.gov.dz/assets/css/semantic.rtl.min.css" media="all">
    <link rel="stylesheet" type="text/css" href="https://amatti.education.gov.dz/assets/css/main2.css" media="all">
    <link rel="stylesheet" type="text/css" href="https://amatti.education.gov.dz/assets/css/font-awesome.css" media="all">
    <link rel="stylesheet" type="text/css" href="https://amatti.education.gov.dz/assets/css/animate.css" media="all">
    <link rel="stylesheet" type="text/css" href="https://amatti.education.gov.dz/assets/css/alertify.rtl.min.css" media="all">
    <script type="text/javascript" src="https://amatti.education.gov.dz/assets/js/alertify.min.js"></script>
    <style>
        .hidden {display:none;}
        .humans {
            display: none;
        }

        .disp {
            display: none;
        }

        .error {
            color: red;
            font-weight: normal;
        }
    </style>
    <noscript>
        <meta http-equiv="refresh" content="0; url=http://www.google.com/" />
    </noscript>
</head>

Resources