├── images ├── bugatti.jpg ├── joker-clap.gif └── loading.svg ├── .github └── workflows │ └── jekyll-gh-pages.yml ├── index.js ├── index.html ├── README.md └── style.css /images/bugatti.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kanugurajesh/Cookie-Webpage/HEAD/images/bugatti.jpg -------------------------------------------------------------------------------- /images/joker-clap.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kanugurajesh/Cookie-Webpage/HEAD/images/joker-clap.gif -------------------------------------------------------------------------------- /images/loading.svg: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /.github/workflows/jekyll-gh-pages.yml: -------------------------------------------------------------------------------- 1 | # Sample workflow for building and deploying a Jekyll site to GitHub Pages 2 | name: Deploy Jekyll with GitHub Pages dependencies preinstalled 3 | 4 | on: 5 | # Runs on pushes targeting the default branch 6 | push: 7 | branches: ["main"] 8 | 9 | # Allows you to run this workflow manually from the Actions tab 10 | workflow_dispatch: 11 | 12 | # Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages 13 | permissions: 14 | contents: read 15 | pages: write 16 | id-token: write 17 | 18 | # Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued. 19 | # However, do NOT cancel in-progress runs as we want to allow these production deployments to complete. 20 | concurrency: 21 | group: "pages" 22 | cancel-in-progress: false 23 | 24 | jobs: 25 | # Build job 26 | build: 27 | runs-on: ubuntu-latest 28 | steps: 29 | - name: Checkout 30 | uses: actions/checkout@v3 31 | - name: Setup Pages 32 | uses: actions/configure-pages@v3 33 | - name: Build with Jekyll 34 | uses: actions/jekyll-build-pages@v1 35 | with: 36 | source: ./ 37 | destination: ./_site 38 | - name: Upload artifact 39 | uses: actions/upload-pages-artifact@v1 40 | 41 | # Deployment job 42 | deploy: 43 | environment: 44 | name: github-pages 45 | url: ${{ steps.deployment.outputs.page_url }} 46 | runs-on: ubuntu-latest 47 | needs: build 48 | steps: 49 | - name: Deploy to GitHub Pages 50 | id: deployment 51 | uses: actions/deploy-pages@v2 52 | -------------------------------------------------------------------------------- /index.js: -------------------------------------------------------------------------------- 1 | const modal = document.getElementById('modal') 2 | const modalCloseBtn = document.getElementById('modal-close-btn') 3 | const consentForm = document.getElementById('consent-form') 4 | const modalText = document.getElementById('modal-text') 5 | const declineBtn = document.getElementById('decline-btn') 6 | const modalChoiceBtns = document.getElementById('modal-choice-btns') 7 | 8 | setTimeout(function () { 9 | modal.style.display = 'inline' 10 | }, 1500) 11 | 12 | modalCloseBtn.addEventListener('click', function () { 13 | modal.style.display = 'none' 14 | }) 15 | 16 | declineBtn.addEventListener('mouseenter', function () { 17 | modalChoiceBtns.classList.toggle('modal-btns-reverse') 18 | }) 19 | 20 | consentForm.addEventListener('submit', function (e) { 21 | e.preventDefault() 22 | 23 | const consentFormData = new FormData(consentForm) 24 | const fullName = consentFormData.get('fullName') 25 | 26 | modalText.innerHTML = ` 27 | ` 31 | 32 | setTimeout(function () { 33 | document.getElementById('upload-text').innerText = ` 34 | Making the sale...` 35 | }, 1500) 36 | 37 | 38 | setTimeout(function () { 39 | document.getElementById('modal-inner').innerHTML = ` 40 |

Thanks ${fullName}, you sucker!

41 |

We just sold the rights to your eternal soul.

42 |
43 | 44 |
45 | ` 46 | modalCloseBtn.disabled = false 47 | }, 3000) 48 | 49 | }) 50 | -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 |
14 |

Learning to code? This is the most important thing you will ever read!

15 | 16 | 22 | 23 |

My subliminal learning technique worked for Mark Zuckerberg and Albert Einstein, and it can work for 24 | you!

25 | 26 |

Want a great job in tech? Want a six-figure salary? Then you have come to the right place. I am going to 27 | tell you all 28 | you need to know to get all of that and much more, without you lifting a finger. You can learn 29 | passively. Just sit back, 30 | close your eyes, and let the sound of my voice make the code sink deep into your brain.

31 |
32 |
33 | 54 | 55 | 56 | 57 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Cookie Webpage 2 | 3 |
4 | Cookie Webpage Logo 5 |
6 | 7 | #### ⭐ Star this repo if you like it 8 | 9 | A webpage developed to spread awareness on websites where third-party services ask users for information. If a user enters the information, they may fall victim to scams. This model simulates such attacks and demonstrates how these types of scams can happen. 10 | 11 | ## Table of Contents 12 | 13 | - [Introduction](#introduction) 14 | - [Features](#features) 15 | - [Demo](#demo) 16 | - [Installation](#installation) 17 | - [Usage](#usage) 18 | - [Contributing](#contributing) 19 | - [License](#license) 20 | 21 | ## Introduction 22 | 23 | In the era of increasing online activities, it's crucial to be aware of potential scams and phishing attempts. Cookie Webpage is a project designed to raise awareness about the risks associated with third-party services that request user information. The model demonstrates how users can be tricked into providing sensitive information, leading to potential scams and security breaches. 24 | 25 | ## Features 26 | 27 | - Simulates third-party service interactions 28 | - Raises awareness about online scams 29 | - Educational tool for understanding phishing attempts 30 | - Responsive design for seamless user experience 31 | 32 | ## Demo 33 | 34 | ![kanugurajesh github io_Cookie-Webpage_ - Google Chrome 2023-12-03 15-10-41](https://github.com/kanugurajesh/Cookie-Webpage/assets/120458029/919170d2-dc54-4adb-b490-34052f885dba) 35 | 36 | ## Installation 37 | 38 | To run Cookie Webpage locally, follow these steps: 39 | 40 | 1. Clone the repository: 41 | 42 | ```bash 43 | git clone https://github.com/kanugurajesh/Cookie-Webpage.git 44 | cd Cookie-Webpage 45 | ``` 46 | 47 | ## Usage 48 | 49 | 🌐 Launch the index.html file in your browser for an immersive experience. 50 | 51 | ⏳ After a short wait, a popup will prompt you for information. 52 | 53 | 🔒 Relax! This is just a demo, not a real data transfer to the dark web. 54 | 55 | Your information remains secure and protected. Enjoy exploring without any worries! 😊 56 | 57 | ## Contributing 58 | 59 | This project loves to accept contributions from everyone 60 | 61 | ## Technologies Used 62 | 63 | - HTML 64 | - CSS 65 | - JavaScript 66 | 67 | ## 🔗 Links 68 | [![portfolio](https://img.shields.io/badge/my_portfolio-000?style=for-the-badge&logo=ko-fi&logoColor=white)](https://rajeshportfolio.me/) 69 | [![linkedin](https://img.shields.io/badge/linkedin-0A66C2?style=for-the-badge&logo=linkedin&logoColor=white)](https://www.linkedin.com/in/rajesh-kanugu-aba8a3254/) 70 | [![twitter](https://img.shields.io/badge/twitter-1DA1F2?style=for-the-badge&logo=twitter&logoColor=white)](https://twitter.com/exploringengin1) 71 | 72 | ## Authors 73 | 74 | - [@kanugurajesh](https://github.com/kanugurajesh) 75 | 76 | ## Support 77 | 78 | For support, you can buy me a coffee 79 | 80 | Buy Me A Coffee 81 | 82 | ## License 83 | 84 | This project license is MIT LICENSE 85 | -------------------------------------------------------------------------------- /style.css: -------------------------------------------------------------------------------- 1 | * { 2 | box-sizing: border-box; 3 | } 4 | 5 | html, 6 | body { 7 | margin: 0; 8 | padding: 0; 9 | font-family: 'Roboto'; 10 | color: #222; 11 | } 12 | 13 | /* typography */ 14 | 15 | h1 { 16 | font-size: 48px; 17 | line-height: 60px; 18 | font-weight: 900; 19 | } 20 | 21 | h2 { 22 | margin-top: 0; 23 | } 24 | 25 | h3 { 26 | font-size: 20px; 27 | font-weight: 700; 28 | line-height: 30px; 29 | } 30 | 31 | p { 32 | font-size: 18px; 33 | line-height: 28px; 34 | 35 | } 36 | 37 | ul { 38 | list-style: none; 39 | padding: 5px 0 0 0; 40 | } 41 | 42 | li { 43 | padding: 15px; 44 | border-radius: 5px; 45 | margin-bottom: 12px; 46 | font-weight: 500; 47 | font-size: 22px; 48 | } 49 | 50 | .li-green { 51 | background-color: #E5FDEA 52 | } 53 | 54 | .li-yellow { 55 | background-color: #FCFDD6 56 | } 57 | 58 | .li-blue { 59 | background-color: #E5F9FE 60 | } 61 | 62 | .li-pink { 63 | background-color: #FCF1FE 64 | } 65 | 66 | /* layout */ 67 | 68 | img { 69 | width: 100%; 70 | } 71 | 72 | main { 73 | width: 400px; 74 | margin: 0 auto; 75 | } 76 | 77 | /* modal */ 78 | 79 | .modal { 80 | display: none; 81 | position: fixed; 82 | right: 0; 83 | left: 0; 84 | top: 0; 85 | bottom: 0; 86 | margin: auto; 87 | height: 420px; 88 | width: 350px; 89 | border-radius: 5px; 90 | box-shadow: 0px 0px 6px 2px #666; 91 | background-color: #212529; 92 | color: whitesmoke; 93 | } 94 | 95 | .modal-inner { 96 | width: 290px; 97 | margin: 0 auto; 98 | } 99 | 100 | .modal-inner-loading { 101 | text-align: center; 102 | } 103 | 104 | /* modal buttons */ 105 | 106 | .close-modal-btn-container { 107 | text-align: right; 108 | margin: 9px; 109 | } 110 | 111 | .modal-close-btn { 112 | font-size: 22px; 113 | font-weight: bold; 114 | background-color: transparent; 115 | border: 1px solid transparent; 116 | color: whitesmoke; 117 | } 118 | 119 | .modal-close-btn:hover, 120 | .modal-close-btn:active { 121 | color: red; 122 | cursor: pointer; 123 | } 124 | 125 | .modal-close-btn:disabled { 126 | color: whitesmoke; 127 | opacity: 0.2; 128 | cursor: not-allowed; 129 | } 130 | 131 | .modal-choice-btns { 132 | margin-top: 10px; 133 | padding: 8px 16px; 134 | display: flex; 135 | justify-content: center; 136 | } 137 | 138 | .modal-btn { 139 | padding: 10px 24px; 140 | cursor: pointer; 141 | } 142 | 143 | .modal-btns-reverse { 144 | flex-direction: row-reverse; 145 | } 146 | 147 | /* modal input */ 148 | 149 | input { 150 | margin-top: 10px; 151 | border: 1px solid #212529; 152 | padding: 10px; 153 | width: 100%; 154 | border-radius: 3px; 155 | } 156 | 157 | /* modal after submit */ 158 | 159 | .loading { 160 | width: 100%; 161 | margin-top: 10px; 162 | } 163 | 164 | .modal-display-name { 165 | color: fuchsia; 166 | } 167 | 168 | .modal-text { 169 | height: 140px; 170 | line-height: 23px; 171 | margin-bottom: 0; 172 | } 173 | 174 | .idiot-gif { 175 | width: 95%; 176 | margin: 0 auto; 177 | } 178 | 179 | .idiot-gif img { 180 | box-shadow: 1px 1px 3px #999; 181 | border-radius: 5px; 182 | } --------------------------------------------------------------------------------