Skip to content

Commit

Permalink
v10.0.1 πŸ’£πŸš€πŸŽ‰ Project rewrite
Browse files Browse the repository at this point in the history
[instangram] Complete rewrite of the Project to support Firefox again.
By rewriting, we were also able to increase the speed noticeably.
Fix bug on some pages where nothing happens.
  • Loading branch information
saschaheim committed Jun 23, 2021
1 parent 46196f1 commit d5d4b3a
Show file tree
Hide file tree
Showing 11 changed files with 25 additions and 16 deletions.
7 changes: 5 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# <img style="float: left; vertical-align: bottom; " width="35" src="https://upload.wikimedia.org/wikipedia/commons/4/4c/Typescript_logo_2020.svg"> [instantgram] v10.0.0
![GitHub release](https://img.shields.io/badge/release-v10.0.0-green)
# <img style="float: left; vertical-align: bottom; " width="35" src="https://upload.wikimedia.org/wikipedia/commons/4/4c/Typescript_logo_2020.svg"> [instantgram] v10.0.1
![GitHub release](https://img.shields.io/badge/release-v10.0.1-green)

![badge](https://img.shields.io/badge/for-instagram-yellow.svg?style=flat-square)
[![JavaScript Style Guide](https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat-square)](http://standardjs.com/)
Expand Down Expand Up @@ -39,6 +39,9 @@ With this version we support all modern browsers that have ECMAScript 2015 (es6)
Read [CONTRIBUTING.md](CONTRIBUTING.md) for more information. :heart:

## Changelog
- v10.0.1 - [instangram] Complete rewrite of the Project to support Firefox again. \
By rewriting, we were also able to increase the speed noticeably. \
Fix bug on some pages where nothing happens.
- v10.0.0 - [instangram] Complete rewrite of the Project to support Firefox again. \
By rewriting, we were also able to increase the speed noticeably.
- v9.0.0 - [instangram] Now you can download a whole user profile. \
Expand Down
2 changes: 1 addition & 1 deletion dist/main.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions index.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions lang/de-de/index.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions lang/en-us/index.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions lang/es-ar/index.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions lang/pt-br/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "instantgram",
"version": "10.0.0",
"version": "10.0.1",
"description": "A bookmarklet for download photos in Instagram",
"author": "Matheus FalcΓ£o as of 4.0.0 Sascha Heim",
"homepage": "https://thinkbig-company.github.io/instantgram/",
Expand Down
2 changes: 1 addition & 1 deletion src/_langs/partials/button.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ if (program.regexHostname.test(program.hostname)) {
}
}

if (typeof scannerProgram.foundVideo !== 'undefined' && typeof scannerProgram.foundByModule !== 'undefined') {
if (typeof scannerProgram.foundVideo !== 'undefined' && scannerProgram.foundByModule == undefined) {
if (process.env.DEV) {
console.log('foundVideo', scannerProgram.foundVideo);
console.log('foundImage', scannerProgram.foundImage);
Expand Down
6 changes: 6 additions & 0 deletions src/modules/MediaScanner.ts
Original file line number Diff line number Diff line change
Expand Up @@ -429,6 +429,12 @@ export class MediaScanner implements Module {
break;

default:
found = false;
program.foundImage = false;
program.foundVideo = false;
program.foundByModule = undefined;

callback(found, program);
break;
}
} catch (e) {
Expand Down

0 comments on commit d5d4b3a

Please sign in to comment.