Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hariprasd/cool-bookmarklets
Bookmarklets for Browsers, that are cool in some way for someone. Minimum Automation
https://github.com/hariprasd/cool-bookmarklets
automateboringstuff automation bookmarklet brave browser chrome console edge firefox framework hacktoberfest javascript quick
Last synced: 11 days ago
JSON representation
Bookmarklets for Browsers, that are cool in some way for someone. Minimum Automation
- Host: GitHub
- URL: https://github.com/hariprasd/cool-bookmarklets
- Owner: hariprasd
- License: cc0-1.0
- Created: 2022-04-01T13:46:14.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-06-04T06:10:01.000Z (5 months ago)
- Last Synced: 2024-08-01T16:52:24.129Z (3 months ago)
- Topics: automateboringstuff, automation, bookmarklet, brave, browser, chrome, console, edge, firefox, framework, hacktoberfest, javascript, quick
- Homepage: https://github.com/hariprasd/cool-bookmarklets
- Size: 88.9 KB
- Stars: 37
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE.txt
Awesome Lists containing this project
README
# Bookmarklets
What is a Bookmarklet?
A bookmarklet is a bookmark stored in a web browser that contains JavaScript commands that add new features to the browser. They are stored as the URL of a bookmark in a web browser or as a hyperlink on a web page. Bookmarklets are usually small snippets of JavaScript executed when user clicks on them - WikipediaProcedure to Save a Bookmarklet
1. Copy the code snippet and Goto the Bookmark section of your browser
2. Create a bookmark with this code as the URL (you should have known how to do it :)
3. Give whatever the name you want & Save it
4. Booom Done, That's All folks π¦Ύ
5. Click and check the functionality of the code, It should work 100%Want to collaborate in this Repo?
1. Fork and commit in your repo
2. Changes will be reviewed and accepted based on the effectiveness of the contentGeneate Bookmarklets here
https://caiorss.github.io/bookmarklet-maker/
## List of Bookmarklets π
### 1. EasyTimerβ
This works with any browser with Javascript support, Like Chrome, Firefox, Edge, Brave etc...#### Code Snippet :
```
javascript: const input = prompt("Enter minutes: ");url="https://www.google.com/search?q=set+timer+for+%22+%20input%20+%22+minutes%22;window.open(url,%20%27_blank%27).focus();
```
>Thank Google for Timer component & Thank me for making the process easier[**Procedure**](https://github.com/hariprasd/cool-bookmarklets#bookmarklets) π
Still having doubts - [Contact Me](https://wa.me/919345160259/)
### 2. Turn Off Personalised Web Search results
Sometimes these Personalisations goes out of hand and shows unwanted Highlights in the webpages,That might be annoying for some guys like me, This Feature turns off the PWS feature in a single click#### Code Snippet :
```
javascript:(function(){window.location=document.URL+'?pws=0%27%20})()
```
[**Procedure**](https://github.com/hariprasd/cool-bookmarklets#bookmarklets) π
Still having doubts - [Contact Me](https://wa.me/919345160259/)
### 3. Colour Picker by Google π
You know? Google has a colour picking tool which can be used to get colour codes in many formats by eyedropping, Access this feature in a single click#### Code Snippet :
```
javascript:(function(){window.location='https://www.google.com/search?q=color+picker'})()
```>Thank Google for Color Picking Feature & Thank me for making the process easier
[**Procedure**](https://github.com/hariprasd/cool-bookmarklets#bookmarklets) π
Still having doubts - [Contact Me](https://wa.me/919345160259/)
### 4. Calculator by Google β
This is a great feature made by Google, we can use scientific / general calculator on web without getting into any sites, Access this feature in a single click#### Code Snippet :
```
javascript:(function(){window.location='https://www.google.com/search?q=calculator'})()
```>Thank Google for Calculator Component & Thank me for making the process easier
[**Procedure**](https://github.com/hariprasd/cool-bookmarklets#bookmarklets) π
Still having doubts - [Contact Me](https://wa.me/919345160259/)
### 5. Unit Conventor by Google β»
This is also a great feature made by Google, we can convert Currencies, Weight, Length in other units on web without getting into any sites, Access this feature in a single click#### Code Snippet :
```
javascript:(function(){window.location='https://www.google.com/search?q=Unit%20converter'})()
```>Thank Google for Unit Convertor Component & Thank me for making the process easier
[**Procedure**](https://github.com/hariprasd/cool-bookmarklets#bookmarklets) π
Still having doubts - [Contact Me](https://wa.me/919345160259/)
### 6. Text Anchors β
A hidden feature used by Search Engine to highlight & direct the users to a specific part of the Page which is related to their query, While using this feature, You should be at the webpage & the text to be anchored should be copied before clicking it
This will be useful when you need to hyperlink an exact part of the website to your friend, After clicking the bookmarklet, you can copy & share the new link to friend, It will highlight the text in the page which was provided by you
#### Code Snippet :
```
javascript:const input = prompt("Enter the text to be anchored (maximum 10 words): ");(function(){window.location=document.URL+'#:~:text='+input})()
```[**Procedure**](https://github.com/hariprasd/cool-bookmarklets#bookmarklets) π
Still having doubts - [Contact Me](https://wa.me/919345160259/)
### 7. Enable Right Click π
Some websites may block you from Right Click & using Context Menu aka Right click menu, But we can enable it again by using this simple Bookmarklet
#### Code Snippet :
```
javascript:(function(){var d=document;d.onmousedown=null;d.onmouseup=null;d.oncontextmenu=null})()
```[**Procedure**](https://github.com/hariprasd/cool-bookmarklets#bookmarklets) π
Still having doubts - [Contact Me](https://wa.me/919345160259/)
### 8. Birthday Moon Phase π
If you are eager to see how the Moon looked when you were born, Check this out. You can use both of them, Second one has moon images of any date
Credits: [Lunaf](https://lunaf.com/lunar-calendar/) & [MoonPhase](https://phasesmoon.com/)
#### Code Snippet :
```
javascript:const input = prompt("Enter date(YYYY/MM/DD only works): ");(function(){window.location='https://lunaf.com/lunar-calendar/'+input})()
```
```
javascript:const input = prompt("Enter date(eg: 3March1978) without spaces: ");(function(){window.location='https://phasesmoon.com/moonday'+input+'.html'})()
```[**Procedure**](https://github.com/hariprasd/cool-bookmarklets#bookmarklets) π
Still having doubts - [Contact Me](https://wa.me/919345160259/)
### 9. Google Search Handy Shortcutsβ‘
Web Surfing can sometime be frustating if we want to click & navigate through many Tabs, Here are some handy shortcuts to directly get what we want
#### Code Snippet to Search Images:
```
javascript:const input = prompt("Enter the Query : ");window.location='https://www.google.com/search?q='+input+'&tbm=isch'
```
#### Code Snippet Search Images with Creative Commons Licence:
```
javascript:const input = prompt("Enter the Query : ");window.location='https://www.google.com/search?q='+input+'&tbm=isch&tbs=il:cl'
```
#### Code Snippet to Search Transparent Images:
```
javascript:const input = prompt("Enter the Query : ");window.location='https://www.google.com/search?q='+input+'tbm=isch&tbs=ic:trans'
```
#### Code Snippet for Direct Video Search:
```
javascript:const input = prompt("Enter the Query : ");window.location='https://www.google.com/search?q='+input+'tbm=vid'
```[**Procedure**](https://github.com/hariprasd/cool-bookmarklets#bookmarklets) π
Still having doubts - [Contact Me](https://wa.me/919345160259/)
### 10. Developers' Search (YouCode)β‘
#### Code Snippet for Direct Getting results tailored for a Dev, like Code snippets, Tutorials, Articles etc.. :
```
javascript: const input = prompt("Enter Query: ");url="https://you.com/search?q=%22+input;window.open(url,%20%27_blank%27).focus();
```[**Procedure**](https://github.com/hariprasd/cool-bookmarklets#bookmarklets) π
Still having doubts - [Contact Me](https://wa.me/919345160259/)
### 11. Tech Stack Lookup (builtwith) β‘
#### Code Snippet for Looking up the tech Stack for any website :
```
javascript:url="https://builtwith.com/?%22+document.URL;window.open(url,%20%27_blank%27).focus();
```[**Procedure**](https://github.com/hariprasd/cool-bookmarklets#bookmarklets) π
Still having doubts - [Contact Me](https://wa.me/919345160259/)
### 12. HTML Preview by [Github](https://htmlpreview.github.io/)β‘
Note: You have to upload HTML files to github and currently at the page where HTML file is located.#### Code Snippet for previewing HTML pages directly from Github :
```
javascript:url="https://htmlpreview.github.io/?%22+document.URL;window.open(url,%20%27_blank%27).focus();
```[**Procedure**](https://github.com/hariprasd/cool-bookmarklets#bookmarklets) π
Still having doubts - [Contact Me](https://wa.me/919345160259/)
### 13. Download all images from any site in a single click
#### Code Snippet:
```
javascript:;(function() {var images = [].slice.call(document.querySelectorAll('img'));try {images.forEach(function(img){downloadImage(img)})} catch (e) {alert('Download failed.');console.log('Download failed.', e)}function downloadImage(img) {var link = document.createElement('a');link.setAttribute('href', img.src);link.setAttribute('download', '');link.click()}}).call(window);
```[**Procedure**](https://github.com/hariprasd/cool-bookmarklets#bookmarklets) π
Still having doubts - [Contact Me](https://wa.me/919345160259/)
### 14. Share current Tab's URL to Whatsappβ‘
#### Code Snippet :
```
javascript:url="https://wa.me/?text=%22+document.URL;window.open(url,%20%27_blank%27).focus();
```[**Procedure**](https://github.com/hariprasd/cool-bookmarklets#bookmarklets) π
Still having doubts - [Contact Me](https://wa.me/919345160259/)
### 15. Search for a specific filetype π
#### Code Snippet :
```
javascript:const input = prompt("Enter Query : "); const type = prompt("Extension type"); window.location='https://www.google.com/search?q=%27+input+%27%20ext%3A%27+type
```[**Procedure**](https://github.com/hariprasd/cool-bookmarklets#bookmarklets) π
Still having doubts - [Contact Me](https://wa.me/919345160259/)
### 16. Find a free vector icon superfast (using Iconfinder) β¨
#### Code Snippet :
```
javascript:const input = prompt("Search in IconFinder : ");(function(){window.location='https://www.iconfinder.com/search?q=%27+input+%27&price=free%27})()
```[**Procedure**](https://github.com/hariprasd/cool-bookmarklets#bookmarklets) π
Still having doubts - [Contact Me](https://wa.me/919345160259/)