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
// ==UserScript== | |
// @name Instagram-@grohit; | |
// @version 1.00 | |
// @Date 12th Nov 2020 | |
// @author github.com/g-rohit | |
// ==/UserScript== | |
// Desc: Add image and video access on right click of the mouse on web instagram | |
setInterval(function () { | |
if (window.location.href.includes("instagram")) { |
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
setInterval(function(){ document.querySelector('div.Igw0E.IwRSH.eGOV_._4EzTm.JI_ht>button.sqdOP.L3NKy.y3zKF').click() }, 3000); |
wget -r -np -k --user-agent="_" "URL Here"
For videos/movies/tvshows :
intext:"Search Term" intitle:"index.of" +(wmv|mpg|avi|mp4|mkv|mov) -inurl:(jsp|pl|php|html|aspx|htm|cf|shtml)
For Images :
intext:"Search Term" intitle:"index.of./" (bmp|gif|jpg|png|psd|tif|tiff) -inurl:(jsp|pl|php|html|aspx|htm|cf|shtml)
For Music:
intext:"Search Term" intitle:"index.of./" (ac3|flac|m4a|mp3|ogg|wav|wma) -inurl:(jsp|pl|php|html|aspx|htm|cf|shtml)
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
const fs = require("fs"); | |
const $ = require("cheerio"); | |
const rp = require("request-promise"); | |
var url = "https://twitter.com/india"; | |
const fileName = "tweets-file-" + url.substr(20) + ".html"; | |
const tweets = fs.createWriteStream(fileName); | |
// write headers | |
tweets.write(`Tweets: | |
<style> |
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
var nowPlaying = document.getElementById('now-playing'); | |
if (nowPlaying) { | |
var meta = nowPlaying.getElementsByClassName('meta-wrap')[0]; | |
var a = document.createElement('a'); | |
a.setAttribute('id', 'download-song'); | |
a.setAttribute('class', 'btn x-small green'); | |
a.style.display = 'inline'; | |
a.textContent = 'Download Song'; | |
meta.appendChild(a); |
When using Chrome developer tools, it can be useful to capture a screenshot of the entire page. And while there are add-ons to achieve this, google chrome has it’s own functionality built in.
Steps
Open Chrome Devtools
in Devtools Ctrl+P (Cmd+P on Mac)
Start typing >screenshot
Choose from the available functions (capture full size screenshot has been by far my most useful)
Enjoy your new screenshot