Skip to content
View in the app

A better way to browse. Learn more.

DecodeHub - Reverse Engineering, Crackmes, Software & Coding

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Fortifying Your Site: 5x Harder to Copy HTML, CSS & JS

Featured Replies

  • Founder

1. Introduction

Hello friends! You’ve poured hours—maybe days—into crafting a blog, forum, or any website. You designed every pixel, wrote every line of code, and then… someone clones it in two hours flat. To prevent that kind of facile theft, we’ll implement a few protective measures. Full disclosure: no client-side trick can guarantee 100% safety. But these steps will make your site at least five times harder to rip off.

2. Disable Right-Click & DevTools Shortcuts

First, drop this JavaScript snippet into your <head> (just before </head>). It kills the context menu and common “view source” hotkeys (Ctrl+U, F12, Ctrl+Shift+I/J/C). It can’t stop view-source: entirely, but it’s the essential first line of defense:

This is the hidden content, please

3. HTML Compression

Next, paste your page’s HTML into an online compressor so the tags collapse into an unreadable jumble. Use:

This is the hidden content, please

Compress, then overwrite your page with the minified output.

4. CSS Minification

Obfuscate your styles by feeding them into a CSS minifier. This strips whitespace, renames values where possible, and mangles the code:

This is the hidden content, please

5. JavaScript Obfuscation

Finally, cloak your scripts in a true JS obfuscator. It transforms your functions and variables into inscrutable gibberish:

This is the hidden content, please

6. Conclusion & Next Steps

By combining these three no-install, zero-terminal steps, you’ve already raised the bar significantly. In future updates, we’ll explore advanced, server-side and build-tool techniques for even stronger protection. Until then—happy coding and secure hosting!

PROFESSIONAL

  • Replies 1
  • Views 398
  • Created
  • Last Reply

Top Posters In This Topic

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

Important Information

Terms of Use

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.