Disabled links in iframes
This commit is contained in:
parent
fc87d25ff6
commit
2cd0208141
|
@ -152,4 +152,7 @@
|
|||
<center><iframe allowtransparency="true" id="frPreview2" style=" border-radius:0.25rem !important; background: #FFFFFF; min-height:600px; height:100%; width:100% !important;" class='w-100' src="{{ url('') }}/@<?= Auth::user()->littlelink_name ?>">Your browser isn't compatible</iframe></center>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<script src="https://code.jquery.com/jquery-1.12.4.min.js"></script>
|
||||
<script type="text/javascript">$("iframe").load(function() { $("iframe").contents().find("a").each(function(index) { $(this).on("click", function(event) { event.preventDefault(); event.stopPropagation(); }); }); });</script>
|
||||
@endsection
|
||||
|
|
|
@ -428,4 +428,7 @@ try{ if($GLOBALS['updateAv'] == true) echo '<img style="padding-left:40px; paddi
|
|||
@endif
|
||||
|
||||
@endforeach
|
||||
|
||||
<script src="https://code.jquery.com/jquery-1.12.4.min.js"></script>
|
||||
<script type="text/javascript">$("iframe").load(function() { $("iframe").contents().find("a").each(function(index) { $(this).on("click", function(event) { event.preventDefault(); event.stopPropagation(); }); }); });</script>
|
||||
@endsection
|
||||
|
|
Loading…
Reference in New Issue