Skip to main content

Posts

Date :

Keys for Copyright Symbol

 Enter Alt + 0169 
Recent posts

Animated header

 <style>  /* Animated header */ .animated-header {   position: relative;   height: 100px;   width: 100%;   overflow: hidden; } .animated-header h1 {   position: absolute;   top: 50%;   left: 50%;   transform: translate(-50%, -50%);   font-size: 60px;   color: black; } .animated-header h1:hover {   animation: bounce 1s ease-in-out; } @keyframes bounce {   from {     transform: translate(-50%, -50%) scale(1);   }   to {     transform: translate(-50%, -50%) scale(1.1);   } } </style> <div class='animated-header'>   <h1>Convertohub</h1> </div>

Code for Digital clock

Click here to see Digital Clock <!DOCTYPE html> <html> <head>   <title>Digital Clock</title> //Add following CSS    <style>     body {       font-family: sans-serif;     }     .clock {       position: absolute;       top: 50%;       left: 50%;       transform: translate(-50%, -50%);       font-size: 60px;       color: black;     }   </style> </head>

Select all the Checkboxes at once.

  The code snippet that you can use to select all the checkboxes on the Facebook Pages Invite Screen is: let checkboxes = document . querySelectorAll ( 'div[role="checkbox"]' ); checkboxes. forEach ( function ( v,i ){ checkboxes[i]. click () }); This code uses the `document.querySelectorAll` method to select all the elements with the attribute `role=”checkbox”`, which are the checkboxes on the screen. Then, it uses the `forEach` method to loop through each checkbox and click on it using the `click` method. This way, you can select all the checkboxes on the screen with one line of code.

Script to confirm Facebook friend's request all at once.

Run the following command in Console of the browser. Facebook = {     config: {         actionDelay: 1000,         scrollDelay: 5000,         // set to -1 for no limit         maxRequestsToAccept: -1,         totalRequestsAccepted: 0,         // set string to be present in names to be accepted, leave empty to accept all         mustIncludeInName: [],     },     inspect: function (data, config) {         console.info("INFO: script initialized on the page data...");         console.debug("DEBUG: finding confirm buttons...");         var confirmDivEles = document.querySelectorAll('[aria-label="Confirm"]');         data = [];         for (var i = 0; i < confirmDivEles.length; i++) {           ...

View PC localhost on your mobile phone

Very Simple Method to see your localhost on your mobile phone.  Serve over your wifi via local IP This sounds complicated but its actually really easy. IMPORTANT: Make sure that your dev computer and your mobile device are connected to the same wifi network. Step 1: Serve to Localhost On your dev machine, serve your application in whatever way you usually do that serves it over a  localhost  address. Make sure to note what port number its being served on. In the image below, we’re noting  8080 . Once you are able to view your app locally on your computer via localhost, you can move to step 2. Step 2: Find your Local IP Address Open  System Preferences  >  Network . Select “Wifi” in the left pane if it isn’t already selected. Under “Status: Connected”, you should see “Wi-Fi is connected to <network name> and has the IP address < local IP address >.” Take note of that IP address! Note: It’s common for your Local IP Address to change automa...