177 days 3 hrs ago

Vanilla Javascript Tricks for Websites

Sometimes you need vanilla JS to do tricks on websites.

16   2  
236 days 16 hrs ago

Simple Javascript Tricks for Any Website

I often use Javascript to do interesting things with external websites. They are harmless to the site as the changes that are affected are all temporary. I am thinking about developing a Chrome plugin that will deploy my favorite Javascript mods on to sites that frequently visit. Here are some tricks that I use from time to time.


I use Google Chrome so the instructions are for this browser. Your milage on other browsers will very.


Most of these small vanilla Javascript tips that require no external libraries, needs to be applied on a target website by following these common steps:


  1. Open the website where you want to change the text in your Chrome browser.
  2. Right-click on the webpage and select "Inspect"  to open the developer tools.
  3. Navigate to the "Console" tab within the developer tools.
  4. This is where you can run JavaScript code on the webpage.
  5. Copy the entire code for the specific hack in your clipboard
  6. Paste the copied copde into the console and press Enter.
  7. This will instantiate the code in the context of the current webpage. 
  8. Then follow specific instructions in the commented header section.


Disclaimer

These are strictly for educational purposes only. You should not apply these tricks on websites without explicit permission. It's crucial to highlight the importance of ethical behavior and respect for digital properties.

142   65   1
Ready to use ShowNotes?
Get Started
© 2024 EVOKNOW, Inc. All rights reserved.