This file contains 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
/* | |
Find IMG tags without width or height definitions | |
@note: please use https://mrcoles.com/bookmarklet/ to create your own bookmarklet | |
*/ | |
function getImageWithoutDimensions(){ | |
console.group("getImageWithoutDimensions"); | |
n = 0; | |
imArray = []; | |
is = document.getElementsByTagName("img"); | |
for (i=0;i<is.length;i++){ |
This file contains 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
/* | |
This pack of functions consents to open/close the Google's "People also ask" questions. | |
Notes: | |
- aria-expanded = false (closed) | |
- aria-expanded = true (opened) | |
examples: | |
- <div jsname="bVEB4e" class="wWOJcd" aria-controls="exacc_BAumYejmNqiQ9u8PmYiV4Aw50" aria-expanded="false" aria-labelledby="exacc_BAumYejmNqiQ9u8PmYiV4Aw49" role="button" tabindex="0" jsaction="AWEk5c"> | |
- <div jsname="bVEB4e" class="wWOJcd" aria-controls="exacc_BAumYejmNqiQ9u8PmYiV4Aw50" aria-expanded="true" aria-labelledby="exacc_BAumYejmNqiQ9u8PmYiV4Aw49" role="button" tabindex="0" jsaction="AWEk5c"> |