This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript:(function(wpm = 200){const st = window.getSelection().toString().trim(),tw = st ? st.split(/\s+/).length : document.body.innerText.split(/\s+/).length,et = Math.ceil(tw / wpm);alert(`Word count: ${tw}\nEstimated reading time: ${et} minutes`);})(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Code generated by ChatGPT | |
javascript:function estimateReadability() { | |
const wordsPerMinute = 200; | |
// Function to get word count from text | |
const getWordCount = text => text ? text.split(/\s+/).length : 0; | |
// Function to calculate readability level | |
const getReadabilityLevel = (wordCount, sentenceCount, syllableCount) => { | |
const averageWordsPerSentence = wordCount / sentenceCount; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript:function e(){const t=200,n=e=>e?e.split(/\s+/).length:0,o=(e,t,n)=>{const o=e/t,r=n/e;return.39*o+11.8*r-15.59},r=()=>window.getSelection().toString().trim()||document.body.innerText.trim(),s=r(),l=n(s),a=Math.ceil(l/t),i=s.split(/[.!?]+/).length,c=s.split(/[aeiouy]+/i).length-1,d=o(l,i,c);alert(`Word Count: ${l}\nReading Time: ${a} min\nReadability Level (Flesch-Kincaid Grade Level): ${d.toFixed(2)}`)}e(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Constituency | MLA | Party | |
---|---|---|---|
Achampet | Dr CHIKKUDU VAMSHI KRISHNA | Indian National Congress | |
Adilabad | PAYAL SHANKER | Bharatiya Janata Party | |
Alair | ILAIAH BEERLA | Indian National Congress | |
Alampur | VIJAYUDU | Bharat Rashtra Samithi | |
Amberpet | KALERU VENKATESH | Bharat Rashtra Samithi | |
Andole | C. DAMODAR RAJANARSIMHA | Indian National Congress | |
Armur | Paidi Rakesh Reddy | Bharatiya Janata Party | |
Asifabad | KOVA LAXMI | Bharat Rashtra Samithi | |
Aswaraopeta | ADINARAYANA. JARE | Indian National Congress |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript:(function(){ | |
//The getInput function is defined to prompt the user for input. | |
function getInput(text){return prompt(text)} | |
//the localStorage will be used to store & retrieve keys and values. | |
d = localStorage; | |
//The user is prompted to enter either "get" or "set" to choose the action. | |
a = getInput('Enter "get" or "set": '); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript:(function(){function g(t){return prompt(t)}d=localStorage;a=g('Enter "get" or "set": ');if(a=="get"){k=d.length?[...Array(d.length)].map(i=>d.key(i)).filter(k=>k.startsWith('z_')):[];k=g("Keys: "+k+"\nEnter key:");if(d.getItem(k))document.getElementById("prompt-textarea").value=d.getItem(k);else alert("Key does not exist!")}else if(a=="set"){k="z_"+g("Enter new key: ");v=g("Enter value to store:");d.setItem(k,v)}else alert("Invalid action")})() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>Location Detection</title> | |
</head> | |
<body> | |
<div id="userDetails"></div> | |
<script> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<!-- Based on this HTML5 QR Code Reader sample by Minhaz https://blog.minhazav.dev/research/html5-qrcode.html --> | |
<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=5"> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<title>OFF Bar Code Scanner</title> | |
</head> | |
<body> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<!-- Based on this HTML5 QR Code Reader sample by Minhaz https://blog.minhazav.dev/research/html5-qrcode.html --> | |
<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=5"> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<title>OFF Barcode Scanner</title> | |
</head> | |
<body> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<!-- Based on this HTML5 QR Code Reader sample by Minhaz https://blog.minhazav.dev/research/html5-qrcode.html --> | |
<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=5"> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<title>NutriScan</title> | |
<style> | |
#desc { |