iframe href

This commit is contained in:
developer 2026-03-27 15:43:02 +08:00
parent e3650becb9
commit 80b31c53e8

View File

@ -1,6 +1,14 @@
@extends('layouts.app') @extends('layouts.app')
@section('content') @section('content')
<script>
setInterval(function() {
if (iframe = document.querySelector("iframe") ) {
console.log(iframe.contentWindow.location.href);
}
}, 5000);
</script>
<div> <div>
<div class="d-block d-lg-none"> <div class="d-block d-lg-none">
<div class="bg-white p-3 border border-light-subtle rounded-3 mb-3"> <div class="bg-white p-3 border border-light-subtle rounded-3 mb-3">