-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
190 lines (176 loc) · 69.5 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
<!DOCTYPE html>
<html lang="en-US">
<head>
<meta charset="UTF-8">
<link rel="alternate" href="https://saschaheim.github.io/instantgram/" hreflang="en">
<link rel="alternate" href="https://saschaheim.github.io/instantgram/lang/de-de" hreflang="de">
<link rel="alternate" href="https://saschaheim.github.io/instantgram/lang/pt-br" hreflang="pt">
<link rel="alternate" href="https://saschaheim.github.io/instantgram/lang/es-ar" hreflang="es">
<link rel="alternate" href="https://saschaheim.github.io/instantgram/" hreflang="x-default">
<title>[instantgram] - ☁️ A bookmarklet for downloading images from Instagram.</title>
<meta name="description" content="☁️ A bookmarklet for downloading images from Instagram.">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="google-site-verification" content="BbRUNLVG70a_9r_nJTAUNwYff6-MSky-lkjCTc2gwII" />
<link rel="stylesheet" type="text/css" href="https://saschaheim.github.io/instantgram/stylesheets/normalize.css" media="screen">
<link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700' rel='stylesheet' type='text/css'>
<link rel="stylesheet" type="text/css" href="https://saschaheim.github.io/instantgram/stylesheets/stylesheet.css" media="screen">
<link rel="stylesheet" type="text/css" href="https://saschaheim.github.io/instantgram/stylesheets/github-light.css" media="screen">
<link rel="apple-touch-icon" sizes="152x152" href="https://saschaheim.github.io/instantgram/img/apple-touch-icon-152x152-precomposed.png">
<link rel="apple-touch-icon" sizes="144x144" href="https://saschaheim.github.io/instantgram/img/apple-touch-icon-144x144-precomposed.png">
<link rel="apple-touch-icon" sizes="120x120" href="https://saschaheim.github.io/instantgram/img/apple-touch-icon-120x120-precomposed.png">
<link rel="apple-touch-icon" sizes="114x114" href="https://saschaheim.github.io/instantgram/img/apple-touch-icon-114x114-precomposed.png">
<link rel="apple-touch-icon" sizes="76x76" href="https://saschaheim.github.io/instantgram/img/apple-touch-icon-76x76-precomposed.png">
<link rel="apple-touch-icon" sizes="72x72" href="https://saschaheim.github.io/instantgram/img/apple-touch-icon-72x72-precomposed.png">
<link rel="apple-touch-icon" sizes="60x60" href="https://saschaheim.github.io/instantgram/img/apple-touch-icon-60x60-precomposed.png">
<link rel="apple-touch-icon" sizes="57x57" href="https://saschaheim.github.io/instantgram/img/apple-touch-icon-57x57-precomposed.png">
<link rel="shortcut icon" href="https://saschaheim.github.io/instantgram/img/favicon.ico">
<style type="text/css">
.language-bar {
position: absolute;
top: 0;
left: 25px;
text-align: center;
font-size: 12px;
font-size: .9vmax;
}
.language-bar a { color: #fff; }
</style>
</head>
<body>
<a href="https://github.com/saschaheim/instantgram" class="github-corner">
<svg width="80" height="80" viewBox="0 0 250 250"
style="fill:#151513; color:#fff; position: absolute; top: 0; border: 0; right: 0;">
<path d="M0,0 L115,115 L130,115 L142,142 L250,250 L250,0 Z"></path>
<path
d="M128.3,109.0 C113.8,99.7 119.0,89.6 119.0,89.6 C122.0,82.7 120.5,78.6 120.5,78.6 C119.2,72.0 123.4,76.3 123.4,76.3 C127.3,80.9 125.5,87.3 125.5,87.3 C122.9,97.6 130.6,101.9 134.4,103.2"
fill="currentColor" style="transform-origin: 130px 106px;" class="octo-arm"></path>
<path
d="M115.0,115.0 C114.9,115.1 118.7,116.5 119.8,115.4 L133.7,101.6 C136.9,99.2 139.9,98.4 142.2,98.6 C133.8,88.0 127.5,74.4 143.8,58.0 C148.5,53.4 154.0,51.2 159.7,51.0 C160.3,49.4 163.2,43.6 171.4,40.1 C171.4,40.1 176.1,42.5 178.8,56.2 C183.1,58.6 187.2,61.8 190.9,65.4 C194.5,69.0 197.7,73.2 200.1,77.6 C213.8,80.2 216.3,84.9 216.3,84.9 C212.7,93.1 206.9,96.0 205.4,96.6 C205.1,102.4 203.0,107.8 198.3,112.5 C181.9,128.9 168.3,122.5 157.7,114.1 C157.9,116.9 156.7,120.9 152.7,124.9 L141.0,136.5 C139.8,137.7 141.6,141.9 141.8,141.8 Z"
fill="currentColor" class="octo-body"></path>
</svg>
</a>
<style>
.github-corner:hover .octo-arm {
animation: octocat-wave 560ms ease-in-out;
}
@keyframes octocat-wave {
0%,
100% {
transform: rotate(0);
}
20%,
60% {
transform: rotate(-25deg);
}
40%,
80% {
transform: rotate(10deg);
}
}
@media (max-width:500px) {
.github-corner:hover .octo-arm {
animation: none;
}
.github-corner .octo-arm {
animation: octocat-wave 560ms ease-in-out;
}
}
</style>
<section class="page-header">
<div class="language-bar">
<p>
<a data-lang="en-US" href="https://saschaheim.github.io/instantgram/?force=true"><span>English</span></a> |
<a data-lang="de-DE" href="https://saschaheim.github.io/instantgram/lang/de-de?force=true"><span>German (Deutsch)</span></a> |
<a data-lang="pt-BR" href="https://saschaheim.github.io/instantgram/lang/pt-br?force=true"><span>Portuguese (Brasil)</span></a> |
<a data-lang="es-AR" href="https://saschaheim.github.io/instantgram/lang/es-ar?force=true"><span>Spanish (Argentina)</span></a> |
</p>
</div>
<h1 class="project-name">Instantgram</h1>
<h2 class="project-tagline">☁️ A bookmarklet for downloading images from Instagram.</h2>
<a href="javascript:(function(){;(()=%3E%7Blet%20s='%3Csvg%20width=%2240px%22%20height=%2240px%22%20viewBox=%220%200%201024%201024%22%20xmlns=%22http://www.w3.org/2000/svg%22%20aria-labelledby=%22title%22%20role=%22img%22%3E%3Ctitle%20id=%22title%22%3E%5Binstantgram%5D%3C/title%3E%3Crect%20x=%2250%22%20y=%2250%22%20width=%22924%22%20height=%22924%22%20rx=%22225%22%20ry=%22225%22%20fill=%22none%22%20stroke=%22#FFFFFF%22%20stroke-width=%2260%22/%3E%3Ccircle%20cx=%22512%22%20cy=%22512%22%20r=%22300%22%20fill=%22none%22%20stroke=%22#FFFFFF%22%20stroke-width=%2260%22/%3E%3Ccircle%20cx=%22512%22%20cy=%22512%22%20r=%22150%22%20fill=%22none%22%20stroke=%22#FFFFFF%22%20stroke-width=%2260%22/%3E%3Ccircle%20cx=%22512%22%20cy=%22512%22%20r=%2270%22%20fill=%22#FFFFFF%22/%3E%3Cline%20x1=%22512%22%20y1=%22150%22%20x2=%22512%22%20y2=%22100%22%20stroke=%22#FFFFFF%22%20stroke-width=%2260%22/%3E%3Cline%20x1=%22512%22%20y1=%22874%22%20x2=%22512%22%20y2=%22924%22%20stroke=%22#FFFFFF%22%20stroke-width=%2260%22/%3E%3Cline%20x1=%22150%22%20y1=%22512%22%20x2=%22100%22%20y2=%22512%22%20stroke=%22#FFFFFF%22%20stroke-width=%2260%22/%3E%3Cline%20x1=%22874%22%20y1=%22512%22%20x2=%22924%22%20y2=%22512%22%20stroke=%22#FFFFFF%22%20stroke-width=%2260%22/%3E%3Crect%20x=%22730%22%20y=%22150%22%20width=%22120%22%20height=%22120%22%20rx=%2230%22%20ry=%2230%22%20fill=%22none%22%20stroke=%22#FFFFFF%22%20stroke-width=%2260%22/%3E%3C/svg%3E';(e=g=g%7C%7C%7B%7D).Ad=%22AD%22,e.Image=%22IMAGE%22,e.Video=%22VIDEO%22,e.Carousel=%22CAROUSEL%22,e.UNDEFINED=%22UNDEFINED%22;var%20e,g,p=%7Blangs:%7B%22en-US%22:%7B%22helpers.localizeDefaultLang%22:%22%5Binstantgram%5D%20set%20language:%20$%7BLANG_DEFAULT%7D%20%5Cn%20For%20more%20information%20about%20available%20languages%20please%20check%20http://saschaheim.github.io/instantgram%22,alertWorksOnlyOn:%22Works%20only%20on%20instagram.com%22,alertNotFound:%22Did%20you%20open%20any%20Instagram%20post?%20Like%20for%20example%3Cbr/%3E%3Cdiv%20style='text-align:center'%3E%3Ca%20style='color:black'%20href='https://www.instagram.com/p/CIGrv1VMBkS/'%20target='_blank'%3Ehttps://www.instagram.com/p/CIGrv1VMBkS/%3C/a%3E%3C/div%3E%22,modalSettingsTitle:%22Settings%22,modalSettingsAttention:%22Attention:%20You%20must%20open%20this%20app%20again%20for%20your%20changes%20to%20be%20applied!%22,modalSettingsGeneral:%22General%22,modalSettingsGenTitle1:%22Enable%20monetized%20posts%22,modalSettingsGenDesc1:%22Ad%20blockers%20must%20be%20deactivated%22,modalSettingsGenTitle2:%22Open%20download%20in%20new%20tab%22,modalSettingsGenDesc2:%22The%20download%20will%20be%20opened%20in%20a%20new%20tab%22,modalSettingsGenTitle3:%22Slideshow%20on/off%22,modalSettingsGenDesc3:%22Enable%20or%20disable%20the%20automatic%20slideshow%22,modalSettingsGenTitle4:%22Change%20file%20name%20format%20for%20downloads%22,modalSettingsGenDesc4:%22Change%20the%20file%20name%20format%20for%20the%20downloads%20here%3Cbr/%3EThe%20default%20format%20is%3Cbr%3E%7BUsername%7D__%7BYear%7D-%7BMonth%7D-%7BDay%7D--%7BHour%7D-%7BMinute%7D%22,modalSettingsStoriesTitle1:%22Mute%20stories%22,modalSettingsStoriesDesc1:%22Stories%20are%20muted%20when%20opened%22,modalSettingsStoriesTitle2:%22Pause%20stories%20when%20opening%22,modalSettingsStoriesDesc2:%22Stories%20are%20paused%20when%20opened%22,modalSettingsStoriesTitle3:%22Display%20stories%20individually%22,modalSettingsStoriesDesc3:%22Stories%20are%20displayed%20individually%20when%20opened%22,download:%22Download%22,save:%22Save%22,saved:%22Saved%22,close:%22Close%22,consoleWarnOutdatedInfo:%22%5Binstantgram%5D%20is%20outdated.%20Please%20check%20http://saschaheim.github.io/instantgram%20for%20available%20updates.%22,consoleWarnOutdatedVersions:%22%5Binstantgram%5D%20Installed%20version:%20$%7Bdata.version%7D%20%7C%20New%20update:%20$%7Bdata.onlineVersion%7D%22,ad:%22Sponsored%22%7D,%22de-DE%22:%7B%22helpers.localizeDefaultLang%22:%22Ausgew%C3%A4hlte%20Sprache:%20$%7BLANG_DEFAULT%7D%20%5Cn%20Weitere%20Informationen%20zu%20den%20unterst%C3%BCtzten%20Sprachen%20findest%20du%20auf%20http://saschaheim.github.io/instantgram%22,alertWorksOnlyOn:%22Funktioniert%20nur%20auf%20instagram.com%22,alertNotFound:%22Hast%20du%20einen%20Instagram%20Post%20ge%C3%B6ffnet?%20Zum%20Beispiel%3Cbr/%3E%3Cdiv%20style='text-align:center'%3E%3Ca%20style='color:black'%20href='https://www.instagram.com/p/CIGrv1VMBkS/'%20target='_blank'%3Ehttps://www.instagram.com/p/CIGrv1VMBkS/%3C/a%3E%3C/div%3E%22,modalSettingsTitle:%22Einstellungen%22,modalSettingsAttention:%22Achtung:%20Sie%20m%C3%BCssen%20diese%20App%20erneut%20%C3%B6ffnen,%20damit%20ihre%20%C3%84nderungen%20%C3%BCbernommen%20werden!%22,modalSettingsGeneral:%22Allgemein%22,modalSettingsGenTitle1:%22Monetarisierte%20Beitr%C3%A4ge%20aktivieren%22,modalSettingsGenDesc1:%22Werbeblocker%20m%C3%BCssen%20deaktiviert%20sein%22,modalSettingsGenTitle2:%22Download%20in%20neuem%20Tab%20%C3%B6ffnen%22,modalSettingsGenDesc2:%22Der%20Download%20wird%20in%20einem%20neuen%20Tab%20ge%C3%B6ffnet%22,modalSettingsGenTitle3:%22Slideshow%20ein/ausschalten%22,modalSettingsGenDesc3:%22Aktivieren%20oder%20deaktivieren%20Sie%20die%20automatische%20Slideshow%22,modalSettingsGenTitle4:%22Dateinamenformat%20f%C3%BCr%20Downloads%20%C3%A4ndern%22,modalSettingsGenDesc4:%22%C3%84ndere%20hier%20das%20Dateinamenformat%20f%C3%BCr%20die%20Downloads%3Cbr/%3EDas%20Standardformat%20ist%3Cbr%3E%7BUsername%7D__%7BYear%7D-%7BMonth%7D-%7BDay%7D--%7BHour%7D-%7BMinute%7D%22,modalSettingsStoriesTitle1:%22Stories%20stummschalten%22,modalSettingsStoriesDesc1:%22Beim%20%C3%B6ffnen%20werden%20Stories%20stummgeschaltet%22,modalSettingsStoriesTitle2:%22Stories%20beim%20%C3%B6ffnen%20pausieren%22,modalSettingsStoriesDesc2:%22Beim%20%C3%B6ffnen%20werden%20Stories%20pausiert%22,modalSettingsStoriesTitle3:%22Stories%20einzeln%20anzeigen%22,modalSettingsStoriesDesc3:%22Beim%20%C3%B6ffnen%20werden%20Stories%20einzeln%20angezeigt%22,download:%22Download%22,save:%22Speichern%22,saved:%22Gespeichert%22,close:%22Schlie%C3%9Fen%22,consoleWarnOutdatedInfo:%22%5Binstantgram%5D%20ist%20veraltet.%20Bitte%20besuche%20die%20Seite%20http://saschaheim.github.io/instantgram%20f%C3%BCr%20ein%20Update.%22,consoleWarnOutdatedVersions:%22%5Binstantgram%5D%20Installierte%20Version:%20$%7Bdata.version%7D%20%7C%20Neue%20Version:%20$%7Bdata.onlineVersion%7D%22,ad:%22Anzeige%22%7D,%22es-AR%22:%7B%22helpers.localizeDefaultLang%22:%22%5Binstantgram%5D%20establecer%20idioma:%20$%7BLANG_DEFAULT%7D%20%5Cn%20Para%20m%C3%A1s%20informaci%C3%B3n%20sobre%20los%20idiomas%20disponibles,%20consulte%20http://saschaheim.github.io/instantgram%22,alertWorksOnlyOn:%22S%C3%B3lo%20funciona%20en%20instagram.com%22,alertNotFound:%22%C2%BFHas%20abierto%20alg%C3%BAn%20post%20de%20Instagram?%20Como%20por%20ejemplo%3Cbr/%3E%3Cdiv%20style='text-align:center'%3E%3Ca%20style='color:black'%20href='https://www.instagram.com/p/CIGrv1VMBkS/'%20target='_blank'%3Ehttps://www.instagram.com/p/CIGrv1VMBkS/%3C/a%3E%3C/div%3E%22,modalSettingsTitle:%22Ajustes%22,modalSettingsAttention:%22Atenci%C3%B3n:%20%C2%A1Debes%20abrir%20esta%20aplicaci%C3%B3n%20nuevamente%20para%20que%20se%20apliquen%20los%20cambios!%22,modalSettingsGeneral:%22General%22,modalSettingsGenTitle1:%22Habilitar%20publicaciones%20monetizadas%22,modalSettingsGenDesc1:%22Los%20bloqueadores%20de%20publicidad%20deben%20estar%20desactivados%22,modalSettingsGenTitle2:%22Abrir%20descarga%20en%20una%20nueva%20pesta%C3%B1a%22,modalSettingsGenDesc2:%22La%20descarga%20se%20abrir%C3%A1%20en%20una%20nueva%20pesta%C3%B1a%22,modalSettingsGenTitle3:%22Slideshow%20on/off%22,modalSettingsGenDesc3:%22Activar/desactivar%20presentaci%C3%B3n%20de%20diapositivas%22,modalSettingsGenTitle4:%22Cambiar%20el%20formato%20del%20nombre%20del%20archivo%20para%20descargas%22,modalSettingsGenDesc4:%22Cambie%20el%20formato%20del%20nombre%20de%20archivo%20para%20las%20descargas%20aqu%C3%AD%3Cbr/%3EEl%20formato%20predeterminado%20es%3Cbr%3E%7BUsername%7D__%7BYear%7D-%7BMonth%7D-%7BDay%7D--%7BHour%7D-%7BMinute%7D%22,modalSettingsStoriesTitle1:%22Historias%20mudas%22,modalSettingsStoriesDesc1:%22Las%20historias%20se%20silencian%20cuando%20se%20abren%22,modalSettingsStoriesTitle2:%22Pausar%20historias%20al%20abrir%22,modalSettingsStoriesDesc2:%22Las%20historias%20se%20pausan%20cuando%20se%20abren.%22,modalSettingsStoriesTitle3:%22Mostrar%20historias%20individualmente%22,modalSettingsStoriesDesc3:%22Las%20historias%20se%20muestran%20individualmente%20cuando%20se%20abren%22,download:%22Descargar%22,save:%22Ahorrar%22,saved:%22Salvado%22,close:%22Cerca%22,consoleWarnOutdatedInfo:%22%5Binstantgram%5D%20es%20obsoleto.%20Consulte%20en%20http://saschaheim.github.io/instantgram%20las%20actualizaciones%20disponibles.%22,consoleWarnOutdatedVersions:%22%5Binstantgram%5D%20Versi%C3%B3n%20instalada:%20$%7Bdata.version%7D%20%7C%20Nueva%20actualizaci%C3%B3n:%20$%7Bdata.onlineVersion%7D%22,ad:%22Publicidad%22%7D,%22pt-BR%22:%7B%22helpers.localizeDefaultLang%22:%22%5Binstantgram%5D%20idioma%20configurado:%20$%7BLANG_DEFAULT%7D%20%5Cnpara%20mais%20informa%C3%A7%C3%B5es%20sobre%20os%20idiomas%20suportados,%20acesse%20http://saschaheim.github.io/instantgram%22,alertWorksOnlyOn:%22%5Binstantgram%5D%20somente%20funciona%20no%20instagram.com%22,alertNotFound:%22ops,%20voc%C3%AA%20est%C3%A1%20em%20algum%20post%20do%20instagram?%20ex:%3Cbr/%3E%3Cdiv%20style='text-align:center'%3E%3Ca%20style='color:black'%20href='https://www.instagram.com/p/CIGrv1VMBkS/'%20target='_blank'%3Ehttps://www.instagram.com/p/CIGrv1VMBkS/%3C/a%3E%3C/div%3E%22,modalSettingsTitle:%22Configura%C3%A7%C3%B5es%22,modalSettingsAttention:%22Aten%C3%A7%C3%A3o:%20Voc%C3%AA%20deve%20abrir%20este%20aplicativo%20novamente%20para%20que%20suas%20altera%C3%A7%C3%B5es%20sejam%20aplicadas!%22,modalSettingsGeneral:%22Geral%22,modalSettingsGenTitle1:%22Habilitar%20postagens%20monetizadas%22,modalSettingsGenDesc1:%22Os%20bloqueadores%20de%20an%C3%BAncios%20devem%20ser%20desativados%22,modalSettingsGenTitle2:%22Abrir%20o%20download%20em%20uma%20nova%20guia%22,modalSettingsGenDesc2:%22O%20download%20ser%C3%A1%20aberto%20em%20uma%20nova%20guia%22,modalSettingsGenTitle3:%22Ativa%C3%A7%C3%A3o/desativa%C3%A7%C3%A3o%20da%20apresenta%C3%A7%C3%A3o%20de%20slides%22,modalSettingsGenDesc3:%22Ativar%20ou%20desativar%20a%20apresenta%C3%A7%C3%A3o%20autom%C3%A1tica%20de%20slides%22,modalSettingsGenTitle4:%22Alterar%20o%20formato%20do%20nome%20do%20arquivo%20para%20downloads%22,modalSettingsGenDesc4:%22Altere%20o%20formato%20do%20nome%20do%20arquivo%20para%20os%20downloads%20aqui%3Cbr/%3EO%20formato%20padr%C3%A3o%20%C3%A9%3Cbr%3E%7BUsername%7D__%7BYear%7D-%7BMonth%7D-%7BDay%7D--%7BHour%7D-%7BMinute%7D%22,modalSettingsStoriesTitle1:%22Hist%C3%B3rias%20mudas%22,modalSettingsStoriesDesc1:%22As%20hist%C3%B3rias%20s%C3%A3o%20silenciadas%20quando%20abertas%22,modalSettingsStoriesTitle2:%22Pausar%20hist%C3%B3rias%20ao%20abrir%22,modalSettingsStoriesDesc2:%22As%20hist%C3%B3rias%20s%C3%A3o%20pausadas%20quando%20abertas%22,modalSettingsStoriesTitle3:%22Exibir%20hist%C3%B3rias%20individualmente%22,modalSettingsStoriesDesc3:%22As%20hist%C3%B3rias%20s%C3%A3o%20exibidas%20individualmente%20quando%20abertas%22,download:%22Download%22,save:%22Salvar%22,saved:%22Salvo%20em%22,close:%22Fechar%22,consoleWarnOutdatedInfo:%22%5Binstantgram%5D%20est%C3%A1%20desatualizado.%20Acesse%20http://saschaheim.github.io/instantgram%20para%20atualizar%22,consoleWarnOutdatedVersions:%22%5Binstantgram%5D%20vers%C3%A3o%20local:%20$%7Bdata.version%7D%20%7C%20nova%20vers%C3%A3o:%20$%7Bdata.onlineVersion%7D%22,ad:%22Patrocinado%22%7D%7D%7D;let%20t=navigator.language,i=%7Bde:%22de-DE%22,en:%22en-US%22,es:%22es-AR%22,pt:%22pt-BR%22%7D%5Bt=-1!==(t=-1!==t.indexOf(%22-%22)?t.split(%22-%22)%5B0%5D:t).indexOf(%22_%22)?t.split(%22_%22)%5B0%5D:t%5D;function%20h(t,a=i)%7Btry%7Breturn(Object.prototype.hasOwnProperty.call(p.langs,a)%7C%7C(a=%22en-US%22),p.langs%5Ba%5D%5Bt%5D)?p.langs%5Ba%5D%5Bt%5D:%22%22%7Dcatch(e)%7Breturn%20console.error(%60%5B$%7BD.NAME%7D%5DLOC%20error:%60,e),%60ops,%20an%20error%20occurred%20in%20the%20localization%20system.%20Enter%20in%20https://github.com/saschaheim/$%7BD.NAME%7D/issues/new%20and%20open%20an%20issue%20with%20this%20code:%20%22LOC_dont_found_str_neither_default:%5B$%7Ba%7D-%3E$%7Bt%7D%5D%22%20%0A%20%20%20%20%20%20%20%20for%20more%20information%20open%20the%20console%60%7D%7Dconsole.info(h(%22helpers.localizeDefaultLang%22).replace(%22$%7BLANG_DEFAULT%7D%22,i));let%20o=new%20Map,l=()=%3E%7Blet%20t=/%22X-IG-App-ID%22:%22(%5B%5Cd%5D+)%22/,e=Array.from(document.querySelectorAll(%22body%20%3E%20script%22)).map(e=%3Ee.textContent?.match(t)).find(Boolean);return%20e?e%5B1%5D:null%7D,u=e=%3E%7Blet%20t=window.location.pathname,a=t.split(%22/%22),i=%7B%22/reel/%22:()=%3Ea%5B2%5D,%22/reels/%22:()=%3Ea%5B2%5D,%22/stories/%22:()=%3Ea%5B3%5D%7D;for(var%20r%20in%20i)if(t.startsWith(r))return%20i%5Br%5D();let%20n=/%5E%5C/p%5C/(%5B%5E/%5D+)%5C//;return%20Array.from(e.querySelectorAll(%22a%5Bhref%5D%22)).map(e=%3Ee.getAttribute(%22href%22)?.match(n)).find(e=%3Ee)?.%5B1%5D%7C%7Cnull%7D;async%20function%20d(r)%7Bvar%20n=window.location.href.match(/www.instagram.com%5C/stories%5C/%5B%5E/%5D+%5C/(%5Cd+)/);if(n)return%20n%5B1%5D;if(!o.has(r))%7Blet%20e=%60https://www.instagram.com/p/$%7Br%7D/%60,t=await%20fetch(e),a=(await%20t.text()).match(/instagram:%5C/%5C/media%5C?id=(%5Cd+)%7C%5B%22'%20%5Dmedia_id%5B%22'%20%5D:%5B%22'%20%5D(%5Cd+)%5B%22'%20%5D/);if(!a)%7Bn=await%20fetch(e+%22?__a=1&__d=dis%22);if(!(a=(await%20n.text()).match(/%22pk%22:(%5Cd+)/)))return%20null%7Dlet%20i=null;for(let%20e=0;e%3Ca.length;++e)a%5Be%5D&&(i=a%5Be%5D);if(!i)return%20null;o.set(r,i)%7Dreturn%20o.get(r)%7Dlet%20f=async%20e=%3E%7Blet%7Btype:t,articleNode:a,id:i,userName:r,userId:n%7D=e,o=l();return%20o?(e=await%7BgetReelsMediaFromFeed:async()=%3E%7Bvar%20e=i%7C%7Cawait%20d(u(a));return%20e?%22https://i.instagram.com/api/v1/feed/reels_media/?reel_ids=%22+(i?%22%22:%22highlight%253A%22)+e:null%7D,getMediaFromInfo:async()=%3E%7Bvar%20e=await%20d(u(a));return%20e?%60https://i.instagram.com/api/v1/media/$%7Be%7D/info/%60:null%7D,getUserFromInfo:()=%3E%60https://i.instagram.com/api/v1/users/$%7Bn%7D/info/%60,getUserInfoFromWebProfile:()=%3E%22https://i.instagram.com/api/v1/users/web_profile_info/?username=%22+r%7D%5Bt%5D?.())?m(e,o):null:(console.log(%22AppID%20not%20found%22),null)%7D,r=async(e,i)=%3E%7Blet%20t=e=%3Ewindow.location.pathname.startsWith(e),r=S(window.location.href),a=u(e),n=t(%22/stories/%22)?(await%20f(%7Btype:%22getUserInfoFromWebProfile%22,userName:r%7D))?.data?.user?.id??null:null,o=%22%22,s=(m=e,d=n,await(a?window.location.pathname.startsWith(%22/stories/highlights/%22)?await%20f(%7Btype:%22getReelsMediaFromFeed%22,articleNode:m,id:null%7D):window.location.pathname.startsWith(%22/stories/%22)?await%20f(%7Btype:%22getReelsMediaFromFeed%22,articleNode:m,id:d%7D):await%20f(%7Btype:%22getMediaFromInfo%22,articleNode:m%7D):await%20f(%7Btype:%22getReelsMediaFromFeed%22,articleNode:m,id:d%7D)));r=r===a&&(t(%22/p/%22)%7C%7Ct(%22/reels/%22))?s.items?.%5B0%5D?.user?.username:(m=s.reels_media?.%5B0%5D?.user?.username,d=s.items?.%5B0%5D?.user?.username,m%7C%7Cd%7C%7Cr),m=%22https://www.instagram.com%22,d=window.location.pathname,c=r;var%20l,d=d.startsWith(%22/p/%22)%7C%7Cd.startsWith(%22/stories/%22)?m+%60/$%7Bc%7D/%60:d.startsWith(%22/reels/%22)?m+%60/$%7Bc%7D/reels/%60:m+%22/%22+c;if(((e,t)=%3E%7Bif(t)%7Blet%20t=(()=%3E%7Btry%7Breturn%20e.children%5B0%5D?.children%5B0%5D?.children%5B0%5D?.children%5B0%5D?.children%5B0%5D?.children%5B1%5D?.children%5B0%5D?.children%5B0%5D?.children%5B1%5D?.children%5B1%5D?.children%5B0%5D?.textContent%7Dcatch%7Breturn%7D%7D)();return!!t&&Object.values(p.langs).some(e=%3Ee.ad===t)%7Dreturn!!Array.from(e.querySelectorAll(%22path%22)).find(e=%3E%22M21%2017.502a.997.997%200%200%201-.707-.293L12%208.913l-8.293%208.296a1%201%200%201%201-1.414-1.414l9-9.004a1.03%201.03%200%200%201%201.414%200l9%209.004A1%201%200%200%201%2021%2017.502Z%22===e.getAttribute(%22d%22))%7D)(e,t(%22/stories/%22)))return%20i.settings.showAds&&(e.querySelector(%22video%5Bplaysinline%5D%22)%7C%7Ce.querySelector(%22img%5Bdraggable%5D%22))?(m=((e,n)=%3E%7Blet%20o=new%20Set,s=%5B%5D,t=(!function%20t(e)%7Bvar%20a;e&&((a=Object.keys(e).find(e=%3Ee.includes(%22Instance%22)%7C%7Ce.includes(%22Fiber%22)))&&function%20t(a,i)%7Bif(a&&!o.has(a))%7Bo.add(a),a.memoizedProps&&r(a.memoizedProps,i),a.child&&t(a.child,i),a.sibling&&t(a.sibling,i);let%20e=a.return;for(;e;)e.memoizedProps&&r(e.memoizedProps,i),e=e.return;function%20r(e,t)%7Be%5Bn%5D&&%22string%22==typeof%20e%5Bn%5D&&s.push(%7Burl:e%5Bn%5D,reactEl:e,element:t%7D)%7D%7D%7D(e%5Ba%5D,e),Array.from(e.children).forEach(e=%3Et(e)))%7D(e),s.reduce((e,t)=%3E%7Bt=t.url;return%20t&&(e%5Bt%5D=(e%5Bt%5D%7C%7C0)+1),e%7D,%7B%7D)),a=null,i=0;for(var%20r%20in%20t)t%5Br%5D%3Ei&&(i=t%5Br%5D,a=r);return%7BmediaUrlElements:s,mostFrequentUrl:a,maxCount:i%7D%7D)(e,%22post%22),c=g.Video,%7BformattedFilename:m,url:l%7D=v(m,r,i.settings.formattedFilenameInput,0),c=x(c,l,i.settings.storiesMuted),m=%60https://instantgram.1337.pictures/download.php?data=$%7Bbtoa(l)%7D:%60+btoa(m),l=i.settings.openInNewTab?l:m,o+=%60%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cdiv%20class=%22slide%22%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20$%7Bc%7D%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Ca%20href=%22$%7Bl%7D%22%20class=%22$%7Bi.NAME%7D-modal-db%22%3E$%7Bh(%22download%22)%7D%3C/a%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C/div%3E%60,%7Bfound:!0,mediaType:k(),mediaInfo:s,modalBody:A(o),selectedSliderIndex:0,userName:r,userLink:d%7D):%7Bfound:!1%7D;y(s,(e,t,a)=%3E%7Bo=b(o,e,t,r,i)%7D);var%20m=A(o),c=w(e);return%7Bfound:!0,mediaType:k(),mediaInfo:s,modalBody:m,selectedSliderIndex:c,userName:r,userLink:d%7D%7D,b=(e,t,a,i,r)=%3E%7Bvar%7BformattedFilename:i,url:a%7D=v(t,i,r.settings.formattedFilenameInput,a),t=x($(t),a,r.settings.storiesMuted),i=%60https://instantgram.1337.pictures/download.php?data=$%7Bbtoa(a)%7D:%60+btoa(i);return%20e+%60%0A%20%20%20%20%20%20%20%20%3Cdiv%20class=%22slide%22%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20$%7Bt%7D%0A%20%20%20%20%20%20%20%20%20%20%20%20%3Ca%20href=%22$%7Br.settings.openInNewTab?a:i%7D%22%20style=%22width:inherit;font-size:20px;font-weight:600;margin-top:-4px;%22%20%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20$%7Br.settings.openInNewTab?'target=%22_blank%22%20rel=%22noopener%20noreferrer%22':%22%22%7D%20%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20class=%22$%7Br.NAME%7D-modal-db%22%3E$%7Bh(%22download%22)%7D%0A%20%20%20%20%20%20%20%20%20%20%20%20%3C/a%3E%0A%20%20%20%20%20%20%20%20%3C/div%3E%60%7D,a=e=%3E%7Bvar%20t,a,i,r,n;return!e?.getBoundingClientRect%7C%7C(%7Btop:e,bottom:t%7D=e.getBoundingClientRect(),i=(a=window.scrollY%7C%7Cdocument.documentElement.scrollTop)+window.innerHeight,r=e+window.scrollY,(n=t+window.scrollY)%3Ca)%7C%7Ci%3Cr?0:Math.round((Math.min(i,n)-Math.max(a,r))/(t-e)*100)%7D,v=(e,t,a,i)=%3E%7Bif(e&&%22object%22==typeof%20e&&e.height&&e.width&&e.url)return%7BformattedFilename:t+%22.jpg%22,url:e.url%7D;var%20r;if(%22string%22==typeof%20e)return%20r=new%20Date,%7BformattedFilename:c(a,%7BMinute:r.getMinutes().toString().padStart(2,%220%22),Hour:r.getHours().toString().padStart(2,%220%22),Day:r.getDate().toString().padStart(2,%220%22),Month:(r.getMonth()+1).toString().padStart(2,%220%22),Year:r.getFullYear().toString(),Username:t%7D)+%60_$%7Bi+1%7D.txt%60,url:e%7D;if(e&&%22object%22==typeof%20e)return%20r=new%20Date(1e3*e.taken_at),a=c(a,%7BMinute:r.getMinutes().toString().padStart(2,%220%22),Hour:r.getHours().toString().padStart(2,%220%22),Day:r.getDate().toString().padStart(2,%220%22),Month:(r.getMonth()+1).toString().padStart(2,%220%22),Year:r.getFullYear().toString(),Username:t%7D),%7Bextension:r,url:t%7D=n(e),%7BformattedFilename:a+%60_$%7Bi+1%7D.%60+r,url:t%7D;throw%20Error(%22Unsupported%20media%20type%22)%7D,S=e=%3E%7Be=e.match(/https:%5C/%5C/www%5C.instagram%5C.com%5C/(stories%5C/%7Creels%5C/%7Cp%5C/)?(%5B%5E/?%5D+)/);return%20e?e%5B2%5D:null%7D,n=e=%3Ee.items?%22video_versions%22in%20e&&e.items%5B0%5D?.video_versions?.%5B0%5D?.url?%7Bextension:%22mp4%22,url:e.items%5B0%5D.video_versions%5B0%5D.url%7D:e.items%5B0%5D?.image_versions2?.candidates?.%5B0%5D?.url?%7Bextension:%22jpg%22,url:e.items%5B0%5D.image_versions2.candidates%5B0%5D.url%7D:(console.error(%22Error:%20No%20valid%20video%20or%20image%20URL%20found%20in%20item.items%5B0%5D%22),null):%22video_versions%22in%20e&&e.video_versions?.%5B0%5D?.url?%7Bextension:%22mp4%22,url:e.video_versions%5B0%5D.url%7D:e.image_versions2?.candidates?.%5B0%5D?.url?%7Bextension:%22jpg%22,url:e.image_versions2.candidates?.%5B0%5D?.url%7D:(console.error(%22Error:%20No%20valid%20video%20or%20image%20URL%20found%22),null),x=(e,t,a)=%3Ee===g.Video?%60%3Cvideo%20style=%22background:black;%22%20height=%22450%22%20src=%22$%7Bt%7D%22%20controls%20preload=%22metadata%22$%7Ba?%22%20muted%22:%22%22%7D%3E%3C/video%3E%60:%60%3Cimg%20src=%22$%7Bt%7D%22%20/%3E%60,y=(e,a)=%3E%7Blet%20i=0;e.reels_media?.%5B0%5D?.items?(i=e.reels_media%5B0%5D.items.length,e.reels_media%5B0%5D.items.forEach((e,t)=%3E%7Ba(e,t,i)%7D)):e.items?.%5B0%5D?.carousel_media?(i=e.items%5B0%5D.carousel_media.length,e.items%5B0%5D.carousel_media.forEach((e,t)=%3E%7Ba(e,t,i)%7D)):e.items?.%5B0%5D?(i=1,a(e.items%5B0%5D,0,i)):e.user?.hd_profile_pic_url_info?.url&&(i=1,a(e.user.hd_profile_pic_url_info,0,i))%7D,w=e=%3E%7Blet%20t;if(e)%7Bfor(var%20a%20of%5B%22._acvz._acnc._acng%22,%22section%20header%20div%22,%22.x1ned7t2.x78zum5%22,%22section%20%3E%20div%20header%20%3E%20div%22,%22section%20%3E%20div%20%3E%20div%20%3E%20div%20%3E%20div%20%3E%20div%20%3E%20div%20%3E%20div%20%3E%20div%22,%22div%20%3E%20div%20%3E%20div%20%3E%20div%20%3E%20div%20%3E%20div%20%3E%20div%20%3E%20div%22%5D)if(t=e.querySelector(a))break;if(t)%7Bvar%20i=t?Array.from(t.children):%5B%5D;for(let%20e=0;e%3Ci.length;e++)%7Bvar%20r=i%5Be%5D.querySelectorAll(%22div%22);if(0===r.length)%7Bif(%22._acvz._acnc._acng%22==a&&1%3Ci%5Be%5D.classList.length)return%20e%7Delse%7Bif(r%5B0%5D?.parentNode?.parentNode?.parentNode?.parentNode?.parentNode?.children%5B1%5D?.querySelector(%22span%22))return%20Array.from(r%5B0%5D?.parentNode?.parentNode?.children??%5B%5D).findIndex(e=%3E0%3Ce.children.length),i.length,0;for(var%20n%20of%20Array.from(r))%7Bvar%20o=n.style.width,n=n.style.transform;if(o&&%22100%25%22!==o%7C%7Cn&&%22%22!==n.trim())return%20e%7D%7D%7D%7D%7Dreturn%200%7D,$=e=%3Ee.carousel_media?g.Carousel:e.video_dash_manifest%7C%7Ce.video_duration%7C%7Ce.video_versions?g.Video:g.Image,k=()=%3Eg.UNDEFINED,m=async(e,t)=%3E%7Btry%7Bvar%20a=await%20fetch(e,%7Bmethod:%22GET%22,headers:%7BAccept:%22*/*%22,%22X-IG-App-ID%22:t%7D,credentials:%22include%22,mode:%22cors%22%7D);return%20200!==a.status?(console.info(%22Fetch%20API%20failed%20with%20status%20code:%20%22+a.status),null):await%20a.json()%7Dcatch(e)%7Breturn%20console.info(%60Error%20fetching%20data:%20$%7Be%7D%0A%60+e.stack),null%7D%7D,c=(e,t)=%3E%7Bfor(var%20a%20in%20t)%7Bvar%20i=RegExp(%60%7B$%7Ba%7D%7D%60,%22g%22);e=e.replace(i,t%5Ba%5D)%7Dreturn%20e.replace(/%5Cs+/g,%22-%22).replace(/%5B%5E%5Cw-.%5D/g,%22%22)%7D,A=e=%3E%60%3Cdiv%20class=%22slider-container%22%3E%3Cdiv%20class=%22slider%22%3E$%7Be%7D%3C/div%3E%3Cdiv%20class=%22slider-controls%22%3E%3C/div%3E%3C/div%3E%60,E=e=%3E%7Blet%20t=e.firstElementChild;for(;t;)%7Ba=t,i=void%200;i=!a%7C%7C(i=!0===(i=a%5BObject.keys(a).find(e=%3Ee.includes(%22Instance%22)%7C%7Ce.includes(%22Fiber%22))%5D)?.memoizedProps?.hidden%7C%7C!0===i?.return?.memoizedProps?.hidden,%22DIV%22!==a.tagName)%7C%7Ci?null:a;if(i)return%20i;t=t.nextElementSibling%7Dvar%20a,i;return%20null%7D;class%20N%7Bconstructor(e)%7Bthis.modal=null,this.imageURL=e.imageURL%7C%7C%22%22,this.heading=e.heading%7C%7C%5B%22%22%5D,this.headingStyle=e.headingStyle%7C%7C%22%22,this.body=e.body%7C%7C%5B%22%22%5D,this.bodyStyle=e.bodyStyle%7C%7C%22%22,this.buttonList=e.buttonList%7C%7C%5B%5D,this.callback=e.callback%7C%7Cnull,null==document.getElementById(D.NAME+%22-modal%22)&&((e=document.createElement(%22style%22)).id=D.NAME+%22-modal%22,e.innerHTML='.instantgram-modal-footer%20button,.instantgram-modal-header%20h5%7Bfont-family:%22Open%20Sans%22,%22Helvetica%20Neue%22,Helvetica,Arial,sans-serif!important;font-size:16px!important%7D.instantgram-modal-overlay%7Bdisplay:none!important;opacity:0!important;transition:.1s!important;position:fixed!important;top:0!important;left:0!important;right:0!important;bottom:0!important;z-index:1000!important;background:rgba(0,0,0,.65)!important;justify-content:center!important;align-items:center!important%7D.instantgram-modal%7Btransition:width%20.1s%20ease-in-out!important;display:inline-block!important;width:400px!important;padding:1.6px!important;z-index:1001!important%7D.instantgram-modal%20select%7Bmargin-left:.8px!important;border:1px%20solid%20#dbdbdb!important;border-radius:3px!important;color:#262626!important;outline:0!important;padding:3px!important;text-align:center!important%7D@media%20(min-width:736px)%7B.instantgram-modal%7Bwidth:500px!important%7D%7D.instantgram-modal-content%7Bposition:relative;display:flex;flex-direction:column;width:100%25!important;pointer-events:auto!important;background-clip:padding-box!important;outline:0!important%7D.instantgram-modal-header%7Bbackground:#f6e2d8!important;background:linear-gradient(45deg,#f6e2d8%200%25,#68c2e8%20100%25)!important;%7D.instantgram-modal-header%7Bcolor:#fff!important;border-top-left-radius:12px!important;border-top-right-radius:12px!important;padding:0%2016px!important;text-align:center%7D.instantgram-modal-header%20h5:nth-child(2)%7Bmargin-top:-15px!important;margin-bottom:20px!important%7D.instantgram-modal-body%7Bbackground:#fff!important;color:#000!important;position:relative!important;-webkit-box-flex:1!important;-ms-flex:1%201%20auto!important;flex:1%201%20auto!important%7D.instantgram-modal-body%3Eimg%7Bbackground:#000;object-fit:scale-down%7D.instantgram-modal-footer%7Bbackground-color:#fff!important;border-top:1px%20solid%20#dbdbdb!important;border-left:0!important;border-right:0!important;border-bottom-left-radius:12px!important;border-bottom-right-radius:12px!important;line-height:1.5!important;min-height:48px!important;padding:4px%208px!important;user-select:none!important;display:-webkit-box!important;display:-ms-flexbox!important;display:flex!important;-webkit-box-align:center!important;-ms-flex-align:center!important;align-items:center!important;-webkit-box-pack:end!important;-ms-flex-pack:end!important;justify-content:center!important%7D.instantgram-modal-footer%20button%7Bwidth:100%25!important;min-height:39px!important;background-color:transparent!important;border:0!important;outline:0!important;cursor:pointer!important%7D.instantgram-modal-footer%20button.active%7Bcolor:#0095e2!important%7D.instantgram-modal-show%7Bopacity:1!important%7D.instantgram-modal-visible%7Bdisplay:flex!important%7D#instantgram-bulk-download-indicator%7Btext-align:center!important%7D.instantgram-modal-db%7Bcolor:#fff!important;background:#f6e2d8!important;background:linear-gradient(45deg,#f6e2d8%200%25,#68c2e8%20100%25)!important;display:block;padding:.8rem;width:100%25;border:none;cursor:pointer%7D.instantgram-modal-db:focus%7Boutline:0;background:#f6e2d8!important;background:linear-gradient(45deg,#f6e2d8%200%25,#68c2e8%20100%25)!important;%7D.instantgram-modal-header%20h5%7Bcolor:#fff!important;margin:revert!important;display:flex;justify-content:space-between;align-items:center;height:15px;%7D.header-text-left%7Bflex:1;text-align:left;%7D.header-text-right%7Bflex:1;text-align:right;%7D.header-text-middle%7Bflex:1;text-align:center;%7D.header-text-middle%20a%7Bcolor:#fff!important%7D.instantgram-settings%7Bcursor:pointer;display:inline-block;color:rgba(255,255,255,.7);background-color:rgba(255,255,255,.08);border:1px%20solid%20rgba(255,255,255,.2);border-radius:.3rem;transition:color%20.2s,background-color%20.2s,border-color%20.2s;width:40px;height:40px;vertical-align:middle;%7D.instantgram-settings:hover%7Bcolor:rgba(255,255,255,.8);text-decoration:none;background-color:rgba(255,255,255,.2);border-color:rgba(255,255,255,.3)%7D.instantgram-modal-body%20input%7Bcolor:#000!important%7D',document.head.appendChild(e))%7Dget%20element()%7Breturn%20this.modal%7DcreateModal()%7Bvar%20e,t=document.createElement(%22div%22),a=(t.classList.add(D.NAME+%22-modal-overlay%22),document.createElement(%22div%22)),i=(a.classList.add(D.NAME+%22-modal%22),t.appendChild(a),document.createElement(%22div%22));i.classList.add(D.NAME+%22-modal-content%22),a.appendChild(i);let%20n=document.createElement(%22div%22),o=(n.classList.add(D.NAME+%22-modal-header%22),0%3Cthis.headingStyle.length&&n.setAttribute(%22style%22,this.headingStyle),i.appendChild(n),this.heading.forEach(e=%3E%7Bif(%22string%22!=typeof%20e%7C%7C/%3C%5C/?%5Ba-z%5D%5B%5Cs%5CS%5D*%3E/i.test(e))if(/%3C%5C/?%5Ba-z%5D%5B%5Cs%5CS%5D*%3E/i.test(e))%7Bvar%20t,a=document.createElement(%22div%22),i=document.createDocumentFragment();for(a.innerHTML=e;null!==(t=a.firstChild);)i.appendChild(t);n.appendChild(i)%7Delse%20n.appendChild(e);else%7Bvar%20r=document.createElement(%22h5%22);r.innerHTML=e,n.appendChild(r)%7D%7D),document.createElement(%22div%22));if(o.classList.add(D.NAME+%22-modal-body%22),0%3Cthis.bodyStyle.length&&o.setAttribute(%22style%22,this.bodyStyle),i.appendChild(o),0%3Cthis.imageURL.length&&(a=document.createElement(%22div%22),i.appendChild(a),(e=document.createElement(%22img%22)).setAttribute(%22height%22,%2276px%22),e.setAttribute(%22width%22,%2276px%22),e.style.margin=%22auto%22,e.style.paddingBottom=%2220px%22,e.setAttribute(%22src%22,this.imageURL),a.appendChild(e)),this.body.forEach(e=%3E%7Bif(%22string%22!=typeof%20e%7C%7C/%3C%5C/?%5Ba-z%5D%5B%5Cs%5CS%5D*%3E/i.test(e))if(/%3C%5C/?%5Ba-z%5D%5B%5Cs%5CS%5D*%3E/i.test(e))%7Bvar%20t,a=document.createElement(%22div%22),i=document.createDocumentFragment();for(a.innerHTML=e;null!==(t=a.firstChild);)i.appendChild(t);o.appendChild(i)%7Delse%20o.appendChild(e);else%7Bvar%20r=document.createElement(%22div%22);r.innerText=e,o.appendChild(r)%7D%7D),0%3Cthis.buttonList.length)%7Blet%20a=document.createElement(%22div%22);a.classList.add(D.NAME+%22-modal-footer%22),i.appendChild(a),this.buttonList.forEach(e=%3E%7Bvar%20t=document.createElement(%22button%22);t.classList.add(D.NAME+%22-modal-button%22),t.innerText=e.text,e.active&&t.classList.add(%22active%22),t.onclick=()=%3E%7Be&&e.callback&&e.callback(),this.close.bind(this)()%7D,a.appendChild(t)%7D)%7Delse%20i.style.paddingBottom=%224px;%22;return%20t%7Dasync%20open()%7Bthis.modal&&await%20this.close(),this.modal=this.createModal(),document.body.appendChild(this.modal),this.modal.classList.add(D.NAME+%22-modal-visible%22),setTimeout(()=%3E%7Bthis.modal.classList.add(D.NAME+%22-modal-show%22)%7D),this.callback&&this.callback(this,this.modal)%7Dasync%20close()%7Bvar%20t;this.modal&&(this.modal.classList.remove(D.NAME+%22-modal-show%22),t=100,await%20new%20Promise(e=%3EsetTimeout(e,t)),this.modal.classList.remove(D.NAME+%22-modal-visible%22),this.modal.parentNode.removeChild(this.modal),this.modal=null)%7Dasync%20refresh()%7Bthis.modal&&(this.modal.parentNode.removeChild(this.modal),this.modal=null),await%20this.open(),this.callback&&this.callback(this,this.modal.querySelector(%22.%22+D.NAME+%22-modal-body%22))%7D%7Dclass%20M%7BgetName()%7Breturn%22PostAndReelScanner%22%7DgetArticleElement()%7Breturn%20document.querySelector(%22div%5Brole='dialog'%5D%20article%22)%7C%7Cdocument.querySelector(%22section%20main%20%3E%20div%20%3E%20:first-child%20%3E%20:first-child%22)%7Dasync%20execute(t)%7Btry%7Bvar%20e=this.getArticleElement();return%20e?await%20r(e,t):%7Bfound:!1,errorMessage:%22No%20target%20found.%22%7D%7Dcatch(e)%7Breturn%20console.error(%60%5B$%7Bt.NAME%7D%5D%20%60+t.VERSION,this.getName()+%22()%22,e),%7Bfound:!1,errorMessage:e.message,error:e%7D%7D%7D%7Dclass%20_%7BgetName()%7Breturn%22ProfileScanner%22%7Dasync%20handleProfilePage(t)%7Bvar%20a=S(window.location.href);if(!a)return%7Bfound:!1,errorMessage:%22Invalid%20username%20extracted%20from%20URL%22%7D;try%7Bvar%20e=await%20f(%7Btype:%22getUserInfoFromWebProfile%22,userName:a%7D);if(e.data.user.id)%7Bvar%20i=e.data.user.id,r=await%20f(%7Btype:%22getUserFromInfo%22,userId:i%7D);if(r&&r.user?.hd_profile_pic_url_info?.url)%7Bvar%20n=null;var%20o=r;var%20s=a;var%20l=window.location.href;var%20d=t;let%20i=%22%22,e=0;d.settings.noMultiStories&&0%3Co.reels_media?.%5B0%5D?.items.length?(m=w(n),i=b(i,o.reels_media%5B0%5D.items%5Bm%5D,m,s,d),e=1):y(o,(e,t,a)=%3E%7Bi=b(i,e,t,s,d)%7D);var%20m=A(i),n=0%3Ce?w(n):0;return%20await%7Bfound:!0,mediaType:k(),mediaInfo:o,modalBody:m,selectedSliderIndex:n,userName:s,userLink:l%7D;return%20await%20void%200%7Delse%20return%7Bfound:!1,errorMessage:%22Incomplete%20userDetails%20received%22%7D%7Dreturn%7Bfound:!1,errorMessage:%22No%20userID%20found%20in%20userInfo%22%7D%7Dcatch(t)%7Breturn%7Bfound:!1,userName:a,errorMessage:t.message,error:t%7D%7D%7Dasync%20execute(t)%7Bif(!t.regexProfilePath.test(window.location.pathname))return%7Bfound:!1,errorMessage:%22Path%20does%20not%20match%20profile%20path%20regex,%20exiting.%22%7D;try%7Bvar%20e=await%20this.handleProfilePage(t);return%20e?e:%7Bfound:!1,errorMessage:%22No%20result%20from%20handleProfilePage,%20returning%20null.%22%7D%7Dcatch(e)%7Breturn%20console.error(%60%5B$%7Bt.NAME%7D%5D%20%60+t.VERSION,this.getName()+%22()%22,e),%7Bfound:!1,errorMessage:e.message,error:e%7D%7D%7D%7Dclass%20F%7BgetName()%7Breturn%22StoriesScanner%22%7DpausePlayCurrentStory(e)%7Be=Array.from(e.querySelectorAll(%22path%22)).find(e=%3E%22M15%201c-3.3%200-6%201.3-6%203v40c0%201.7%202.7%203%206%203s6-1.3%206-3V4c0-1.7-2.7-3-6-3zm18%200c-3.3%200-6%201.3-6%203v40c0%201.7%202.7%203%206%203s6-1.3%206-3V4c0-1.7-2.7-3-6-3z%22===e.getAttribute(%22d%22));e&&e.closest('div%5Brole=%22button%22%5D')?.click()%7DshouldPauseStory(e)%7Breturn%22true%22===localStorage.getItem(e.STORAGE_NAME+%22_settings_stories_2%22)%7DfindCurrentStory(e)%7Blet%20t=Array.from(e.querySelectorAll(%22section%22)),a=null;for(let%20e%20of%20t)%7Bi=!(i=e)%7C%7C0===(i=i.querySelectorAll(%22div%20%3E%20div%20%3E%20div%22)).length?null:Array.from(i).reduce((e,t)=%3E%7Bvar%20a=parseFloat(getComputedStyle(e).width);return%20parseFloat(getComputedStyle(t).width)%3Ea?t:e%7D,i%5B0%5D);if(i)%7Ba=i;break%7D%7Dvar%20i;return%20a%7Dasync%20handleHighlightsStories(e,t)%7Be=this.findCurrentStory(e);return%20e?(this.shouldPauseStory(t)&&this.pausePlayCurrentStory(e),r(e,t)):null%7Dasync%20handleFeedStories(e,t)%7Be=E(e.querySelector(%22div%20%3E%20div%20%3E%20div%22));return(e=this.findCurrentStory(e))?(this.shouldPauseStory(t)&&this.pausePlayCurrentStory(e),r(e,t)):null%7Dasync%20execute(t)%7Btry%7Bvar%20e,a=document.querySelector('%5Bid%5E=%22mount_%22%5D');return%20a?(e=window.location.pathname).startsWith(%22/stories/highlights/%22)?await%20this.handleHighlightsStories(a,t):e.startsWith(%22/stories/%22)?await%20this.handleFeedStories(a,t):%7Bfound:!1,errorMessage:%22No%20target%20found.%22%7D:%7Bfound:!1,errorMessage:%22No%20target%20found.%22%7D%7Dcatch(e)%7Breturn%20console.error(%60%5B$%7Bt.NAME%7D%5D%20%60+t.VERSION,this.getName()+%22()%22,e),%7Bfound:!1,errorMessage:e.message,error:e%7D%7D%7D%7Dclass%20I%7BgetName()%7Breturn%22MediaScanner%22%7Dconstructor()%7Bthis.svgSettings=null;var%20e=%22http://www.w3.org/2000/svg%22,t=(this.svgSettings=document.createElementNS(e,%22svg%22),this.svgSettings.setAttribute(%22style%22,%22margin-left:%20auto;%20margin-right:auto;%20display:block;%22),this.svgSettings.setAttribute(%22aria-label%22,%22Optionen%22),this.svgSettings.setAttribute(%22class%22,%22x1lliihq%20x1n2onr6%22),this.svgSettings.setAttribute(%22color%22,%22rgb(255,%20255,%20255)%22),this.svgSettings.setAttribute(%22fill%22,%22rgb(255,%20255,%20255)%22),this.svgSettings.setAttribute(%22height%22,%2224%22),this.svgSettings.setAttribute(%22role%22,%22img%22),this.svgSettings.setAttribute(%22viewBox%22,%220%200%2024%2024%22),this.svgSettings.setAttribute(%22width%22,%2224%22),document.createElementNS(e,%22title%22)),t=(t.textContent=%22Optionen%22,this.svgSettings.appendChild(t),document.createElementNS(e,%22circle%22)),t=(t.setAttribute(%22cx%22,%2212%22),t.setAttribute(%22cy%22,%2212%22),t.setAttribute(%22fill%22,%22none%22),t.setAttribute(%22r%22,%228.635%22),t.setAttribute(%22stroke%22,%22currentColor%22),t.setAttribute(%22stroke-linecap%22,%22round%22),t.setAttribute(%22stroke-linejoin%22,%22round%22),t.setAttribute(%22stroke-width%22,%222%22),this.svgSettings.appendChild(t),document.createElementNS(e,%22path%22));t.setAttribute(%22d%22,%22M14.232%203.656a1.269%201.269%200%200%201-.796-.66L12.93%202h-1.86l-.505.996a1.269%201.269%200%200%201-.796.66m-.001%2016.688a1.269%201.269%200%200%201%20.796.66l.505.996h1.862l.505-.996a1.269%201.269%200%200%201%20.796-.66M3.656%209.768a1.269%201.269%200%200%201-.66.796L2%2011.07v1.862l.996.505a1.269%201.269%200%200%201%20.66.796m16.688-.001a1.269%201.269%200%200%201%20.66-.796L22%2012.93v-1.86l-.996-.505a1.269%201.269%200%200%201-.66-.796M7.678%204.522a1.269%201.269%200%200%201-1.03.096l-1.06-.348L4.27%205.587l.348%201.062a1.269%201.269%200%200%201-.096%201.03m11.8%2011.799a1.269%201.269%200%200%201%201.03-.096l1.06.348%201.318-1.317-.348-1.062a1.269%201.269%200%200%201%20.096-1.03m-14.956.001a1.269%201.269%200%200%201%20.096%201.03l-.348%201.06%201.317%201.318%201.062-.348a1.269%201.269%200%200%201%201.03.096m11.799-11.8a1.269%201.269%200%200%201-.096-1.03l.348-1.06-1.317-1.318-1.062.348a1.269%201.269%200%200%201-1.03-.096%22),t.setAttribute(%22fill%22,%22none%22),t.setAttribute(%22stroke%22,%22currentColor%22),t.setAttribute(%22stroke-linejoin%22,%22round%22),t.setAttribute(%22stroke-width%22,%222%22),this.svgSettings.appendChild(t)%7DinitModalSettingsListeners(e,i)%7Blet%20t=document.querySelectorAll(%22div.nav-tabs%20%3E%20button.nav-link%22),a=document.querySelectorAll(%22.tab-pane%22),r=e=%3E%7Be.preventDefault(),t.forEach(e=%3Ee.classList.remove(%22active%22)),a.forEach(e=%3Ee.classList.remove(%22show%22,%22active%22));var%20e=e.currentTarget,e=(e.classList.add(%22active%22),e.getAttribute(%22data-target%22));e&&(e=document.querySelector(e))&&e.classList.add(%22show%22,%22active%22)%7D,n=(t.forEach(e=%3E%7Be.addEventListener(%22click%22,r)%7D),Array.from(e.querySelectorAll('label.slideon%20input%5Btype=%22checkbox%22%5D')).forEach(e=%3E%7Blet%20t=i.STORAGE_NAME+%22_%22+e.id.replace(/-/g,%22_%22);e.checked=%22true%22===localStorage.getItem(t),e.addEventListener(%22change%22,()=%3E%7BlocalStorage.setItem(t,String(e.checked))%7D)%7D),e.querySelector(%22#settings-general-4%22));if(n)%7Blet%20t=i.STORAGE_NAME+%22_settings_general_4%22,a=(n.value=localStorage.getItem(t)%7C%7C%22%7BUsername%7D__%7BYear%7D-%7BMonth%7D-%7BDay%7D--%7BHour%7D-%7BMinute%7D%22,e.querySelector(%22#settings-general-btn-4%22));a.addEventListener(%22click%22,e=%3E%7Be.preventDefault(),localStorage.setItem(t,n.value),this.updateInputButtonStyle(a,%22saved%22,i.NAME+%22-primary%22,i.NAME+%22-success%22),setTimeout(()=%3E%7Bthis.updateInputButtonStyle(a,%22save%22,i.NAME+%22-success%22,i.NAME+%22-primary%22)%7D,1e3)%7D)%7D%7DinitializeStyles(e)%7Bthis.removeStyleTagsWithIDs(%5Be.NAME+%22-cssGeneral%22,e.NAME+%22-cssSlideOn%22,e.NAME+%22-cssCarouselSlider%22%5D),this.appendStyles(e.NAME+%22-cssGeneral%22,%22.instantgram-btn,label%7Bdisplay:inline-block%7D.instantgram-btn%7Bpadding:.25rem%201.9rem%20.4rem%201.9rem;font-size:1rem;font-weight:400;line-height:1.5%7D.alert,p%7Bmargin-bottom:1rem%7D@keyframes%20horizontal-shaking%7B0%25,100%25%7Btransform:translateX(0)%7D25%25,75%25%7Btransform:translateX(5px)%7D50%25%7Btransform:translateX(-5px)%7D%7D.instantgram-btn%7Bcolor:#212529;text-align:center;vertical-align:middle;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background-color:transparent;border:1px%20solid%20transparent;border-radius:.25rem;transition:color%20.15s%20ease-in-out,background-color%20.15s%20ease-in-out,border-color%20.15s%20ease-in-out,box-shadow%20.15s%20ease-in-out%7D.form-control,.form-group%7Bdisplay:block;width:100%25%7D.instantgram-btn:hover%7Bcolor:#212529;text-decoration:none%7D.instantgram-btn:not(:disabled):not(.disabled)%7Bcursor:pointer%7D.instantgram-btn-primary%7Bcolor:#fff!important;background:#f6e2d8!important;background:linear-gradient(45deg,#f6e2d8%200%25,#68c2e8%20100%25)!important;border:4px!important%7D.instantgram-btn-primary:hover%7Bcolor:#fff!important;background-color:#0069d9!important;border-color:#0062cc!important%7D.instantgram-btn-primary:not(:disabled):not(.disabled).active,.instantgram-btn-primary:not(:disabled):not(.disabled):active,.show%3E.instantgram-btn-primary.dropdown-toggle%7Bcolor:#fff;background-color:#0062cc;border-color:#005cbf%7D.instantgram-btn-primary:not(:disabled):not(.disabled).active:focus,.instantgram-btn-primary:not(:disabled):not(.disabled):active:focus,.show%3E.instantgram-btn-primary.dropdown-toggle:focus%7Bbox-shadow:%200%200%200%20.2rem%20rgba(246,%20226,%20216,%200.5)%7D.instantgram-btn-success%7Bcolor:#fff!important;background-color:#28a745!important;border-color:#28a745!important%7D.mt-1,.my-1%7Bmargin-top:.25rem!important%7D.mt-2,.my-2%7Bmargin-top:.5rem!important%7D.mt-3,.my-3%7Bmargin-top:1rem!important%7D.w94%7Bwidth:94%25!important%7D.ml-15,.mr-15%7Bmargin-left:15px!important%7Dlabel%7Bmargin-bottom:.5rem%7D.form-control%7Bpadding:.375rem%20.75rem;font-size:1rem;font-weight:400;line-height:1.5;height:calc(1.5em%20+%20.75rem%20+%202px);color:#495057;background-color:#fff;background-clip:padding-box;border:1px%20solid%20#ced4da;border-radius:.25rem;transition:border-color%20.15s%20ease-in-out,box-shadow%20.15s%20ease-in-out%7D.alert%7Bposition:relative;padding:.75rem%201.25rem;border:1px%20solid%20transparent;border-radius:.25rem%7D.alert-warning%7Bcolor:#856404;background-color:#fff3cd;border-color:#ffeeba%7D.pr-0%7Bpadding-right:0!important%7D.col,.col-12,.col-auto%7Bmax-width:100%25%7D.instantgram-modal-body%20*%7Bbox-sizing:border-box%7Db,strong%7Bfont-weight:bolder%7Dbutton,input%7Boverflow:visible%7Dbutton,input,optgroup,select,textarea%7Bmargin:0;font-family:inherit;font-size:inherit;line-height:inherit%7D.col,.col-1,.col-10,.col-11,.col-12,.col-2,.col-3,.col-4,.col-5,.col-6,.col-7,.col-8,.col-9,.col-auto,.col-lg,.col-lg-1,.col-lg-10,.col-lg-11,.col-lg-12,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-lg-auto,.col-md,.col-md-1,.col-md-10,.col-md-11,.col-md-12,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-md-auto,.col-sm,.col-sm-1,.col-sm-10,.col-sm-11,.col-sm-12,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-sm-auto,.col-xl,.col-xl-1,.col-xl-10,.col-xl-11,.col-xl-12,.col-xl-2,.col-xl-3,.col-xl-4,.col-xl-5,.col-xl-6,.col-xl-7,.col-xl-8,.col-xl-9,.col-xl-auto%7Bposition:relative;width:100%25;padding-right:15px;padding-left:15px%7D.col%7B-ms-flex-preferred-size:0;flex-basis:0;-ms-flex-positive:1;flex-grow:1;min-width:0%7D.col-auto%7B-ms-flex:0%200%20auto;flex:0%200%20auto;width:auto%7D.col-12%7B-ms-flex:0%200%20100%25;flex:0%200%20100%25%7D.container%7Bwidth:100%25;padding-right:15px;padding-left:15px;margin-right:auto;margin-left:auto%7D@media%20(min-width:576px)%7B.container%7Bmax-width:540px%7D%7D@media%20(min-width:768px)%7B.container%7Bmax-width:720px%7D%7D@media%20(min-width:992px)%7B.container%7Bmax-width:960px%7D%7D@media%20(min-width:1200px)%7B.container%7Bmax-width:1140px%7D%7D@media%20(min-width:576px)%7B.container,.container-sm%7Bmax-width:540px%7D%7D@media%20(min-width:768px)%7B.container,.container-md,.container-sm%7Bmax-width:720px%7D%7D@media%20(min-width:992px)%7B.container,.container-lg,.container-md,.container-sm%7Bmax-width:960px%7D%7D@media%20(min-width:1200px)%7B.container,.container-lg,.container-md,.container-sm,.container-xl%7Bmax-width:1140px%7D%7Dinput%5Btype=checkbox%5D,input%5Btype=radio%5D%7Bbox-sizing:border-box;padding:0%7D.justify-content-center%7B-ms-flex-pack:center!important;justify-content:center!important%7D.list-group-item%7Bposition:relative;display:block;padding:.75rem%201.25rem;background-color:#fff;border:1px%20solid%20#eef0f3%7D.list-group-item+.list-group-item%7Bborder-top-width:0%7D.list-group-item+.list-group-item.active%7Bmargin-top:-1px;border-top-width:1px%7D.list-group-item.active%7Bz-index:2;color:#fff;background-color:#1b68ff;border-color:#1b68ff%7D.list-group-item.disabled,.list-group-item:disabled%7Bcolor:#6d7174;pointer-events:none;background-color:#fff%7D.list-group-item:first-child%7Bborder-top-left-radius:inherit;border-top-right-radius:inherit%7D.list-group-item:last-child%7Bborder-bottom-right-radius:inherit;border-bottom-left-radius:inherit%7D.mb-0,.my-0%7Bmargin-bottom:0!important%7D.mb-4,.my-4%7Bmargin-bottom:1.5rem!important%7D.mb-5,.my-5%7Bmargin-bottom:3rem!important%7D.ml-auto,.mx-auto%7Bmargin-left:auto!important%7D.mr-auto,.mx-auto%7Bmargin-right:auto!important%7D.mt-4,.my-4%7Bmargin-top:1.5rem!important%7D.row%7Bdisplay:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;margin-right:-15px;margin-left:-15px%7D.text-muted%7Bcolor:#6c757d!important%7Dp%7Bmargin-top:0%7D.align-items-center%7B-ms-flex-align:center!important;align-items:center!important%7D.tab-content%3E.tab-pane%7Bdisplay:none%7D.fade:not(.show)%7Bopacity:0%7D.fade%7Btransition:opacity%20.15s%20linear%7D.tab-content%3E.active%7Bdisplay:block%7D.nav%7Bdisplay:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;padding-left:0;margin-bottom:0;list-style:none%7D.nav-tabs%7Bborder-bottom:1px%20solid%20#dee2e6;margin-bottom:-1px%7D.nav-tabs%20.nav-link%7Bcursor:pointer;color:#000;margin-bottom:-1px;background-color:transparent;border:1px%20solid%20transparent;border-top-left-radius:.25rem;border-top-right-radius:.25rem%7D.nav-tabs%20.nav-link:focus,.nav-tabs%20.nav-link:hover%7Bisolation:isolate;border-color:#e9ecef%20#e9ecef%20#dee2e6%7D.nav-link%7Bdisplay:block;padding:.5rem%201rem%7D.nav-tabs%20.nav-item.show%20.nav-link,.nav-tabs%20.nav-link.active%7Bcolor:#495057;background-color:#fff;border-color:#dee2e6%20#dee2e6%20#fff;border-bottom:%20aliceblue%206px%20solid;%7D%22),this.appendStyles(e.NAME+%22-cssSlideOn%22,'.slideon%7Bposition:relative;display:inline-block;width:42px;height:24px;vertical-align:middle%7D.slideon%3Einput,input.slideon%7Bdisplay:none%7D.slideon-slider%7Bposition:absolute;cursor:pointer;border-radius:34px;top:0;left:0;right:0;bottom:0;background-color:#ccc;-webkit-transition:.4s;transition:.4s%7D.slideon-slider:before%7Bposition:absolute;content:%22%22;height:22px;width:22px;left:1px;bottom:1px;border-radius:50%25;background-color:#fff;-webkit-transition:.4s;transition:.4s;-webkit-box-shadow:0%200%203px%200%20rgba(0,0,0,.45);-moz-box-shadow:0%200%203px%200%20rgba(0,0,0,.45);box-shadow:0%200%203px%200%20rgb(0,0,0,.45)%7D.slideon%20input:checked~.slideon-slider%7Bbackground:#f6e2d8!important;background:linear-gradient(45deg,#f6e2d8%200%25,#68c2e8%20100%25)!important;%7D.slideon%20input:checked~.slideon-slider:before%7B-webkit-transform:translateX(18px);-ms-transform:translateX(18px);transform:translateX(18px)%7D.slideon%20input:disabled~.slideon-slider%7Bopacity:.5%7D'),this.appendStyles(e.NAME+%22-cssCarouselSlider%22,%22.slider-container%7Bwidth:500px;overflow:hidden;position:relative%7D.slider%7Bheight:100%25;display:flex;transition:left%20.5s;position:inherit%7D.slide%7Bposition:relative;background:#000%7D.slide%20img,%20.slide%20video%7Bwidth:501px;height:300px;object-fit:contain%7D.slider-controls%7Bdisplay:flex;justify-content:center;margin-top:10px;margin-bottom:10px;flex-wrap:wrap;gap:5px;%7D.slider-controls%20button%7Bcursor:%20pointer;width:25px;height:25px;padding:0;margin:0%205px;border-radius:50%25;background:#ddd;border:0%7D.slider-controls%20button.active%7Bbackground:#999%7D%22)%7DappendStyles(e,t)%7Bvar%20a=document.createElement(%22style%22);a.id=e,a.innerHTML=t,document.body.appendChild(a)%7DdisplayModal(e,t,a,i,r)%7Bnew%20N(%7Bheading:%5Bt%5D,body:%5Be.modalBody%5D,bodyStyle:a,buttonList:i,callback:r%7D).open()%7DhandleSettingsButtonClick(c)%7Blet%20g=(e,t=%22%22,a=%7B%7D,i=%22%22)=%3E%7Blet%20r=document.createElement(e);return%20t&&(r.className=t),Object.keys(a).forEach(e=%3Er.setAttribute(e,a%5Be%5D)),i&&(r.innerHTML=i),r%7D,e=g(%22div%22,%22container%22),t=g(%22div%22,%22row%20justify-content-center%22),a=g(%22div%22,%22col-12%20col-lg-10%20col-xl-8%20mx-auto%22),i=g(%22div%22,%22my-4%22),r=g(%22nav%22),n=g(%22div%22,%22nav%20nav-tabs%22,%7Bid:%22nav-tab%22,role:%22tablist%22%7D),o=(n.appendChild(g(%22button%22,%22nav-link%20active%22,%7Bid:%22nav-general-tab%22,%22data-toggle%22:%22tab%22,%22data-target%22:%22#nav-general%22,type:%22button%22,role:%22tab%22,%22aria-controls%22:%22nav-general%22,%22aria-selected%22:%22true%22%7D,%22%22+h(%22modalSettingsGeneral%22))),n.appendChild(g(%22button%22,%22nav-link%22,%7Bid:%22nav-stories-tab%22,%22data-toggle%22:%22tab%22,%22data-target%22:%22#nav-stories%22,type:%22button%22,role:%22tab%22,%22aria-controls%22:%22nav-stories%22,%22aria-selected%22:%22false%22%7D,%22Stories%22)),g(%22div%22,%22tab-content%22,%7Bid:%22nav-tabContent%22%7D)),p=g(%22div%22,%22tab-pane%20fade%20active%20show%22,%7Bid:%22nav-general%22,role:%22tabpanel%22,%22aria-labelledby%22:%22nav-general-tab%22%7D),u=g(%22div%22,%22tab-pane%20fade%22,%7Bid:%22nav-stories%22,role:%22tabpanel%22,%22aria-labelledby%22:%22nav-stories-tab%22%7D);%5B%7Btitle:%22modalSettingsGenTitle1%22,description:%22modalSettingsGenDesc1%22,settingsName:%22general-1%22%7D,%7Btitle:%22modalSettingsGenTitle2%22,description:%22modalSettingsGenDesc2%22,settingsName:%22general-2%22%7D,%7Btitle:%22modalSettingsGenTitle3%22,description:%22modalSettingsGenDesc3%22,settingsName:%22general-3%22%7D,%7Btitle:%22modalSettingsGenTitle4%22,description:%22modalSettingsGenDesc4%22,settingsName:%22general-4%22,isLargeInput:!0%7D,%7Btitle:%22modalSettingsStoriesTitle1%22,description:%22modalSettingsStoriesDesc1%22,settingsName:%22stories-1%22%7D,%7Btitle:%22modalSettingsStoriesTitle2%22,description:%22modalSettingsStoriesDesc2%22,settingsName:%22stories-2%22%7D,%7Btitle:%22modalSettingsStoriesTitle3%22,description:%22modalSettingsStoriesDesc3%22,settingsName:%22stories-3%22%7D%5D.forEach(e=%3E%7Bvar%20t,a,i,r,n,o,s,l,d,m;(e.title.includes(%22Gen%22)?p:u).appendChild((t=h(e.title),a=h(e.description),i=e.settingsName,e=e.isLargeInput,r=g(%22div%22,%22list-group-item%22),n=g(%22div%22,%22row%20align-items-center%22),(o=g(%22div%22,%22col%20pr-0%22)).appendChild(g(%22strong%22,%22mb-0%22,%7B%7D,t)),a&&o.appendChild(g(%22p%22,%22text-muted%20mb-0%22,%7B%7D,a)),s=g(%22div%22,%22col-auto%22),l=g(%22label%22,%22slideon%22),d=g(%22input%22,%22%22,%7Btype:%22checkbox%22,id:%22settings-%22+i%7D),m=g(%22span%22,%22slideon-slider%22),l.appendChild(d),l.appendChild(m),s.appendChild(l),e?(d=g(%22div%22,%22form-group%22,%7Bstyle:%22display:%20flex;%20flex-direction:%20column;%20align-items:%20flex-start;%22%7D,%60%3Cstrong%20class=%22col%20pr-0%22%3E$%7Bt%7D%3C/strong%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cp%20class=%22text-muted%20ml-15%20mb-0%22%3E$%7Ba%7D%3C/p%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cinput%20type=%22text%22%20class=%22form-control%20ml-15%20mt-1%20w94%22%20id=%22settings-$%7Bi%7D%22%20placeholder=%22$%7Bt%7D%22%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cbutton%20type=%22submit%22%20class=%22$%7Bc.NAME%7D-btn%20$%7Bc.NAME%7D-btn-primary%20mb-2%20mt-2%22%20id=%22settings-general-btn-4%22%20style=%22align-self:%20flex-end;%20margin-right:%2012px;%22%3E$%7Bh(%22save%22)%7D%3C/button%3E%60),n.appendChild(d)):(n.appendChild(o),n.appendChild(s)),r.appendChild(n),r))%7D),o.appendChild(p),o.appendChild(u),r.appendChild(n),i.appendChild(r),i.appendChild(o),i.appendChild(g(%22div%22,%22alert%20alert-warning%20mt-3%22,%7B%7D,h(%22modalSettingsAttention%22))),a.appendChild(i),t.appendChild(a),e.appendChild(t),new%20N(%7Bheading:%5B%60%3Ch5%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cspan%20class=%22header-text-left%22%3E$%7Bs%7D%3C/span%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cspan%20class=%22header-text-middle%22%3E$%7Bh(%22modalSettingsTitle%22)%7D%3C/span%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cspan%20class=%22header-text-right%22%20style=%22margin-right:%200%22%3Ev$%7Bc.VERSION%7D%3C/span%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C/h5%3E%60%5D,body:%5Be%5D,bodyStyle:null,buttonList:%5B%7Bactive:!0,text:h(%22close%22)%7D%5D,callback:(e,t)=%3E%7Bthis.initModalSettingsListeners(t,c)%7D%7D).open()%7Dasync%20handleURLPatterns(p)%7Bif(p.hostname.includes(%22instagram.com%22))%7Bfor(var%20t%20of%5B%7Bregex:p.regexStoriesURI,scanner:F%7D,%7Bregex:p.regexProfilePath,scanner:_%7D,%7Bregex:p.regexRootPath,scanner:class%7BgetName()%7Breturn%22FeedScanner%22%7DcollectMediaElementsInfo(e)%7Breturn%20Array.from(e).map((e,t)=%3E(%7Bi1:t,mediaEl:e,elemVisiblePercentage:a(e)%7C%7C0%7D))%7Dasync%20execute(t)%7Btry%7Bvar%20e,a=document.getElementsByTagName(%22article%22);return%200===a.length?%7Bfound:!1,errorMessage:%22No%20target%20found.%22%7D:!(e=a%5Bthis.collectMediaElementsInfo(a).reduce((e,t)=%3Ee.elemVisiblePercentage%3Et.elemVisiblePercentage?e:t).i1%5D)%7C%7Ce.getBoundingClientRect().height%3C40?%7Bfound:!1,errorMessage:%22Article%20not%20found%20or%20too%20small,%20likely%20an%20ad%22%7D:await%20r(e,t)%7Dcatch(e)%7Breturn%20console.error(%60%5B$%7Bt.NAME%7D%5D%20%60+t.VERSION,this.getName()+%22()%22,e),%7Bfound:!1,errorMessage:e.message,error:e%7D%7D%7D%7D%7D,%7Bregex:p.regexPostPath,scanner:M%7D,%7Bregex:p.regexReelURI,scanner:M%7D,%7Bregex:p.regexReelsURI,scanner:class%7BgetName()%7Breturn%22ReelsScanner%22%7DgetRelevantArticles()%7Breturn%20Array.from(document.querySelectorAll(%22section%20%3E%20main%20%3E%20div%20%3E%20div%22)).filter(e=%3E0%3Ce.children.length)%7DfindMostRelevantArticle(e)%7Bvar%20t;return%200!==e.length&&0%3C(t=e.map((e,t)=%3E(%7Bindex:t,article:e,visibility:a(e)%7D)).reduce((e,t)=%3Ee.visibility%3Et.visibility?e:t,%7Bindex:-1,visibility:0%7D)).visibility?e%5Bt.index%5D:null%7Dasync%20execute(t)%7Btry%7Bvar%20e=this.getRelevantArticles(),a=this.findMostRelevantArticle(e);return%20a?await%20r(a,t):%7Bfound:!1,errorMessage:%22No%20target%20found.%22%7D%7Dcatch(e)%7Breturn%20console.error(%60%5B$%7Bt.NAME%7D%5D%20%60+t.VERSION,this.getName()+%22()%22,e),%7Bfound:!1,errorMessage:e.message,error:e%7D%7D%7D%7D%7D%5D)if(t.regex.test(window.location.pathname))try%7Bvar%20e=new%20t.scanner;console.log(this.getName()+%22()%22,%22Execute%20module%20%22+e.getName());let%20g=await%20e.execute(p);g.found?(g.foundByModule=e.getName(),this.displayModal(g,%60%3Ch5%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cspan%20class=%22header-text-left%22%3E$%7Bs%7D%3C/span%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cspan%20class=%22header-text-middle%22%3E%3Ca%20href=%22$%7Bg.userLink%7D%22%3E@$%7Bg.userName%7D%3C/a%3E%3C/span%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cspan%20class=%22header-text-right%22%3E%3Cbutton%20class=%22$%7Bp.NAME%7D-settings%22%3E$%7Bthis.svgSettings.outerHTML%7D%3C/button%3E%3C/span%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C/h5%3E%60,%22padding:0!important;text-align:center%22,%5B%7Bactive:!0,text:h(%22close%22)%7D%5D,(e,c)=%3E%7Bif(c.querySelector(%22.slider%22))%7Blet%20t,a=c.querySelector(%22.slider%22),i=c.querySelectorAll(%22.slide%22),r=c.querySelector(%22.slider-controls%22),n=g.selectedSliderIndex,o=(i.forEach((e,t)=%3E%7Bvar%20a=document.createElement(%22button%22);a.innerHTML=String(t+1),a.dataset.index=String(t),a.classList.toggle(%22active%22,1===i.length),1%3Ci.length&&a.addEventListener(%22click%22,()=%3E%7Bn=t,o(!0)%7D),r.appendChild(a)%7D),e=%3E%7Bnull===document.fullscreenElement&&(m(!1),a.style.transform=%60translateX($%7B-i%5B0%5D.clientWidth*n%7Dpx)%60,%5B...r.children%5D.forEach((e,t)=%3E%7Be.classList.toggle(%22active%22,t===n)%7D),e&&clearTimeout(t),%22true%22===localStorage.getItem(p.STORAGE_NAME+%22_settings_general_3%22))&&s()%7D),s=()=%3E%7Bvar%20e=i%5Bn%5D.querySelector(%22video%22);e?e.play()&&(e.onended=l):d()%7D,l=()=%3E%7Bn=(n+1)%25i.length,o(!1)%7D,d=()=%3E%7Bt=setTimeout(l,5e3)%7D,m=e=%3E%7Bi.forEach(e=%3E%7Be=e.querySelector(%22video%22);e&&e.pause()%7D)%7D;1%3Ci.length&&o(!1);document.addEventListener(%22fullscreenchange%22,()=%3E%7Bnull!==document.fullscreenElement&&clearTimeout(t)%7D)%7Dc.querySelector(%60.$%7Bp.NAME%7D-settings%60).addEventListener(%22click%22,()=%3E%7Bthis.handleSettingsButtonClick(p)%7D)%7D)):new%20N(%7Bheading:%5B%60%3Ch5%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cspan%20class=%22header-text-left%22%3E$%7Bs%7D%3C/span%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cspan%20class=%22header-text-right%22%3Ev$%7Bp.VERSION%7D%3Cbutton%20class=%22$%7Bp.NAME%7D-settings%22%20style=%22margin-left:10px%22%3E$%7Bthis.svgSettings.outerHTML%7D%3C/button%3E%3C/span%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C/h5%3E%60%5D,body:%5Bh(%22alertNotFound%22)%5D,bodyStyle:%22text-align:center;padding:20px%22,buttonList:%5B%7Bactive:!0,text:%22Ok%22%7D%5D,callback:(e,t)=%3E%7Bt.querySelector(%60.$%7Bp.NAME%7D-settings%60).addEventListener(%22click%22,()=%3E%7Bthis.handleSettingsButtonClick(p)%7D)%7D%7D).open()%7Dcatch(e)%7Bt=new%20t.scanner;console.error(%60Error%20executing%20scanner%20$%7Bt.getName()%7D:%60,e)%7D%7Delse%20new%20N(%7Bheading:%5B%60%3Ch5%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cspan%20class=%22header-text-left%22%3E$%7Bs%7D%3C/span%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3Cspan%20class=%22header-text-right%22%3Ev$%7Bp.VERSION%7D%3Cbutton%20class=%22$%7Bp.NAME%7D-settings%22%20style=%22margin-left:10px%22%3E$%7Bthis.svgSettings.outerHTML%7D%3C/button%3E%3C/span%3E%0A%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%3C/h5%3E%60%5D,body:%5Bh(%22alertWorksOnlyOn%22)%5D,bodyStyle:%22text-align:center;padding:20px%22,buttonList:%5B%7Bactive:!0,text:%22Ok%22%7D%5D,callback:(e,t)=%3E%7Bt.querySelector(%60.$%7Bp.NAME%7D-settings%60).addEventListener(%22click%22,()=%3E%7Bthis.handleSettingsButtonClick(p)%7D)%7D%7D).open()%7DisModalOpen(e)%7Breturn!!document.querySelector(%22div.%22+e.NAME+%22-modal-overlay.%22+e.NAME+%22-modal-visible.%22+e.NAME+%22-modal-show%22)%7DremoveStyleTagsWithIDs(e)%7Be.forEach(e=%3E%7Be=document.getElementById(e);e&&e.remove()%7D)%7DshakeModal(e)%7Blet%20t=document.querySelector(%22.%22+e);t&&(t.style.animation=%22horizontal-shaking%200.25s%20linear%20infinite%22,setTimeout(()=%3Et.style.animation=null,1e3))%7DupdateInputButtonStyle(e,t,a,i)%7Be.textContent=h(t),e.classList.contains(i)?(e.classList.remove(i),e.classList.add(a)):(e.classList.remove(a),e.classList.add(i))%7Dasync%20execute(t)%7Bconsole.log(this.getName()+%22()%22,%22Starts%22);try%7Bthis.isModalOpen(t)?this.shakeModal(t.NAME+%22-modal%22):(this.initializeStyles(t),await%20this.handleURLPatterns(t))%7Dcatch(e)%7Bconsole.error(this.getName()+%22()%22,%60%5B$%7Bt.NAME%7D%5D%20%60+t.VERSION,e)%7D%7D%7Dconsole.clear();let%20C=%22instantgram%22,L=C.toLowerCase().replace(/-/g,%22_%22),D=%7BNAME:C,STORAGE_NAME:L,DEVELOPMENT:!1,VERSION:%222024.12.18%22,browser:(()=%3E%7Blet%20e;var%20t=navigator.userAgent,a=t.match(/(opera%7Cchrome%7Csafari%7Cfirefox%7Cmsie%7Ctrident(?=%5C/))%5C/?%5Cs*(%5Cd+)/i)%7C%7C%5B%5D;return/trident/i.test(a%5B1%5D)?%7Bname:%22IE%22,version:(e=/%5Cbrv%5B%20:%5D+(%5Cd+)/g.exec(t)%7C%7C%5B%5D)%5B1%5D%7C%7C%22%22%7D:%22Chrome%22===a%5B1%5D&&(e=t.match(/%5Cb(OPR%7CEdge)%5C/(%5Cd+)/))?%7Bname:e%5B1%5D.replace(%22OPR%22,%22Opera%22),version:e%5B2%5D%7D:1%3Ca.length?((t=t.match(/version%5C/(%5Cd+)/i))&&(a%5B2%5D=t%5B1%5D),%7Bname:a%5B1%5D,version:a%5B2%5D%7D):%7Bname:navigator.appName,version:navigator.appVersion%7D%7D)(),hostname:window.location.hostname,path:window.location.pathname,regexHostname:/%5Einstagram%5C.com$/,regexRootPath:/%5E%5C/+$/,regexProfilePath:/%5E%5C/(%5Cw%5B-%5Cw.%5D+)%5C/?$/,regexPostPath:/%5E%5C/p%5C//,regexReelURI:/reel%5C/(.*)+/,regexReelsURI:/reels%5C/(.*)+/,regexStoriesURI:/%5C/stories%5C/(%5Cw+)%7C%5C/highlights%5C/(%5Cd+)%5C//,foundByModule:null,settings:%7BshowAds:%22true%22===localStorage.getItem(L+%22_settings_general_1%22),openInNewTab:%22true%22===localStorage.getItem(L+%22_settings_general_2%22),autoSlideshow:%22true%22===localStorage.getItem(L+%22_settings_general_3%22),formattedFilenameInput:localStorage.getItem(L+%22_settings_general_4%22)%7C%7C%22%7BUsername%7D__%7BYear%7D-%7BMonth%7D-%7BDay%7D--%7BHour%7D-%7BMinute%7D%22,storiesMuted:%22true%22===localStorage.getItem(L+%22_settings_stories_1%22),noMultiStories:%22true%22===localStorage.getItem(L+%22_settings_stories_3%22)%7D%7D;(async()=%3E%7B(new%20I).execute(D)%7D)(),D%7D)();})()" class="btn" style="cursor: move;">[instantgram 2024.12.18]</a> <br>
<small>drag this button to the bookmark bar of your browser.</small>
</section>
<section class="main-content">
<h1>
<a id="instantgram" class="anchor" href="#instantgram" aria-hidden="true">
<span class="octicon octicon-link"></span>
</a>
<a href="https://saschaheim.github.io/instantgram">[instantgram]</a>
</h1>
<p>
<img src="https://img.shields.io/badge/version-2024.12.18-green.svg?style=flat-square" alt="version">
<img src="https://img.shields.io/badge/for-instagram-yellow.svg?style=flat-square" alt="badge">
</p>
<p>[instantgram] is a bookmarklet for downloading single images from Instagram. Tiny, simple, without any further extensions or downloads. Just drag the [instantgram] button to the bookmark bar of your browser, open any Instagram post and click on the bookmarklet. Just works :-)</p>
<img src="https://saschaheim.github.io/instantgram/img/demo.gif"
style="width: auto; max-width: 95%; display: block; margin: 0 auto;">
<footer class="site-footer">
<span class="site-footer-owner">
<a href="https://github.com/saschaheim/instantgram">instantgram</a> is maintained by <a
href="https://github.com/saschaheim">Sascha Heim</a>.
</span>
<span class="site-footer-credits">
This page was generated by <a href="https://pages.github.com">GitHub Pages</a>
using the <a href="https://github.com/jasonlong/cayman-theme">Cayman theme</a> by <a
href="https://twitter.com/jasonlong">Jason Long</a>.
</span>
</footer>
</section>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-64893820-4"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() {
dataLayer.push(arguments);
}
gtag('js', new Date());
gtag('config', 'UA-64893820-4');
</script> <script type="text/javascript">
function GetQueryStringParams(sParam) {
var sPageURL = window
.location
.search
.substring(1);
var sURLVariables = sPageURL.split('&');
for (var i = 0; i < sURLVariables.length; i++) {
var sParameterName = sURLVariables[i].split('=');
if (sParameterName[0] == sParam) {
return sParameterName[1];
}
}
}
// identify which language's page
var switchesLang = document.querySelectorAll('.language-bar a');
var defaultLang = "en-US";
for (var i = switchesLang.length - 1; i >= 0; i--) {
var lang = switchesLang[i].dataset.lang;
var regex = new RegExp(lang.toLowerCase(), 'g');
if (regex.test(location.pathname)) {
defaultLang = lang;
}
}
document
.querySelector("[data-lang='" + defaultLang + "'] span")
.style
.textDecoration = 'underline';
var language = navigator.languages && navigator.languages[0] || navigator.language || navigator.userLanguage;
var regex = new RegExp(language.toLowerCase(), 'g');
if (!regex.test(location.pathname) && !GetQueryStringParams('force') && location.protocol !== 'file:') {
if (typeof language !== 'undefined') {
switch (language.substring(0, 2)) {
case 'de':
window.location.href = '/instantgram/lang/de-de/';
break;
case 'pt':
window.location.href = '/instantgram/lang/pt-br/';
break;
case 'es':
window.location.href = '/instantgram/lang/es-ar/';
break;
default:
window.location.href = '/instantgram/?force=true';
}
}
}
</script></body>
</html>