bibliogram/src/site/pug/blocked.pug

39 lines
1.9 KiB
Plaintext
Raw Normal View History

//- Needs website_origin, instancesURL, username, expiresMinutes?
2020-01-30 03:05:43 +00:00
include includes/error.pug
doctype html
2020-06-13 10:35:57 +00:00
html#bibliogram-identifier-blocked
2020-01-30 03:05:43 +00:00
head
title= `Blocked | Bibliogram`
2020-02-05 06:05:18 +00:00
include includes/head
script(src=getStaticURL("html", "/static/js/user_available_waiter.js") type="module")
body
div(data-username=username)#data
.error-page
h1.code 503
p.message Blocked by Instagram
p.explanation
| Instagram is temporarily refusing to provide data to this server.
.width-block
2020-06-13 11:03:34 +00:00
#dynamic-status-area
ul
2020-06-13 12:32:03 +00:00
li
| #[a(href="#unblock-on-mac-or-linux") Unblock with shell], no download, Mac and Linux only
.hidden-section#unblock-on-mac-or-linux
p Open the Terminal application, then paste this code:
pre curl -Ss #{website_origin}/u/#{username}/unblock.sh | bash
2020-06-13 12:32:03 +00:00
li
| #[a(href="#unblock-with-userscript") Unblock automatically with userscript], any modern browser
.hidden-section#unblock-with-userscript
p If you don't already have a userscript manager, install #[a(href="https://violentmonkey.github.io/get-it/") Violentmonkey] (open source) or #[a(href="https://www.tampermonkey.net/") Tampermonkey] (closed source)
p #[a(href="/userscripts/unblock.user.js") Open this link.] You should be prompted to install the script. Press "Confirm installation" on that page.
p Reload this page.
2020-07-16 12:14:11 +00:00
li To learn more, #[a(href="https://git.sr.ht/~cadence/bibliogram-docs/tree/master/docs/Instagram%20rate%20limits.md#tldr-what-does-it-mean-if-an-instance-is-blocked") read about blocking.]
2020-07-13 13:27:42 +00:00
li You may be able to avoid this by #[a(href="https://git.sr.ht/~cadence/bibliogram-docs/tree/master/docs/Instances.md") browsing on another instance.]
li It's good to read scripts to see what they do. #[a(href=`${website_origin}/u/${username}/unblock.sh`) Read ./unblock.sh]
a(href="/").back ↵ Return home