Page 1 of 2

imgur.com page link is showing blank page

Posted: 2021-09-04, 16:14
by dxxjm
Recently I noticed any imgur.com page links (not the home page), like this one for example: https://imgur.com/gallery/F2TXkXX, shows only blank page in palemoon (I'm already on the latest version 29.4.0.2). There is no issue in waterfox classic browser and other browsers. The issue happens in safe mode too.

The web console shows this error:

Code: Select all

TypeError: navigator.credentials is undefined
Stack trace:
i/<@https://s.imgur.com/desktop-assets/js/main.9dd506b8699dc5d74d81.js:1:280715
value@https://s.imgur.com/desktop-assets/js/main.9dd506b8699dc5d74d81.js:1:281479
cu@https://s.imgur.com/desktop-assets/js/main.9dd506b8699dc5d74d81.js:88:83274
Oc/<@https://s.imgur.com/desktop-assets/js/main.9dd506b8699dc5d74d81.js:88:101191
KqkS/u.unstable_runWithPriority@https://s.imgur.com/desktop-assets/js/main.9dd506b8699dc5d74d81.js:9:3838
qo@https://s.imgur.com/desktop-assets/js/main.9dd506b8699dc5d74d81.js:88:44944
Oc@https://s.imgur.com/desktop-assets/js/main.9dd506b8699dc5d74d81.js:88:97692
sc@https://s.imgur.com/desktop-assets/js/main.9dd506b8699dc5d74d81.js:88:93845
Zo/<@https://s.imgur.com/desktop-assets/js/main.9dd506b8699dc5d74d81.js:88:45242
KqkS/u.unstable_runWithPriority@https://s.imgur.com/desktop-assets/js/main.9dd506b8699dc5d74d81.js:9:3838
qo@https://s.imgur.com/desktop-assets/js/main.9dd506b8699dc5d74d81.js:88:44944
Zo@https://s.imgur.com/desktop-assets/js/main.9dd506b8699dc5d74d81.js:88:45180
Ko@https://s.imgur.com/desktop-assets/js/main.9dd506b8699dc5d74d81.js:88:45115
ic@https://s.imgur.com/desktop-assets/js/main.9dd506b8699dc5d74d81.js:88:90420
enqueueSetState@https://s.imgur.com/desktop-assets/js/main.9dd506b8699dc5d74d81.js:88:48887
viRO/_.prototype.setState@https://s.imgur.com/desktop-assets/js/main.9dd506b8699dc5d74d81.js:80:1287
r/<@https://s.imgur.com/desktop-assets/js/main.9dd506b8699dc5d74d81.js:25:42801
i/<@https://s.imgur.com/desktop-assets/js/main.9dd506b8699dc5d74d81.js:1:326180
r@https://s.imgur.com/desktop-assets/js/main.9dd506b8699dc5d74d81.js:65:32836
  
main.9dd506b8699dc5d74d81.js:1:93816
TypeError: this.measure is null

Re: imgur.com page link is showing blank page

Posted: 2021-09-04, 17:49
by vannilla
The site actually appeared briefly for me, but then it disappears once the error happens.
So the thing is actually there, but the site developers decided to kill everything once something bad happens, instead of displaying an error message.

Re: imgur.com page link is showing blank page

Posted: 2021-09-04, 18:15
by coffeebreak
See: this thread;
Imgur support: How to join or leave Imgur Beta Testers

This happens when Imgur "opts" you into their beta version, and it's controlled by the value of a cookie.
Try visiting their opt-out link and hard-refreshing the page: https://imgur.com/beta/disable

Re: imgur.com page link is showing blank page

Posted: 2021-09-04, 21:17
by dxxjm
^Thanks, visiting the https://imgur.com/beta/disable link solves the issue.

Re: imgur.com page link is showing blank page

Posted: 2021-09-07, 16:19
by UCyborg
I guess this means when the beta goes stable, the site will be broken again unless/until navigator.credentials is supported by the browser.

Re: imgur.com page link is showing blank page

Posted: 2021-09-07, 18:19
by coffeebreak
UCyborg wrote:
2021-09-07, 16:19
unless/until navigator.credentials is supported by the browser.
I don't get the error that OP posted concerning "navigator.credentials"

This is what I see in the Error console for the beta version of the linked page:

Code: Select all

Error: TypeError: this.measure is null
Source File: https://s.imgur.com/desktop-assets/js/gallery.01afe7ea7b328afd3c55.bundle.js
Line: 1

Re: imgur.com page link is showing blank page

Posted: 2021-09-09, 12:38
by hawkeye116477
Unfortunately disabling beta doesn't fixes upload site.

Re: imgur.com page link is showing blank page

Posted: 2021-09-09, 20:49
by coffeebreak
hawkeye116477 wrote:
2021-09-09, 12:38
disabling beta doesn't fixes upload site
Imgur is setting two beta-related cookies (named "postpagebeta" and "frontpagebetav2"), but the "disable beta" link only changes the value of the first one, "postpagebeta".
imgur-cookies.png
The upload page seems to need for both cookies to be modified (to content = 0) in order to work.
After editing the cookies with an extension (in my case, CookieKeeper) upload worked again here.

Re: imgur.com page link is showing blank page

Posted: 2021-09-09, 21:02
by krystian3w
Off-topic:
I use this with new line // @match https://imgur.com/upload: (source on https://cable.ayra.ch/tampermonkey/view ... gn.user.js)

Code: Select all

// ==UserScript==
// @name         Imgur Old Design
// @namespace    24e9d0d286ee3808d404284e82e564c49c6704bb
// @version      0.2.1
// @description  Restores the old imgur Home page
// @author       /u/AyrA_ch
// @match        https://imgur.com/
// @match        https://imgur.com/upload
// @grant        none
// @run-at       document-start
// ==/UserScript==

// Changelog
// 0.2: Support new "frontpagebetav2" cookie
// 0.1: Support "frontpagebeta" cookie

(function () {
	'use strict';
	//Extract all cookies
	var cookies = document.cookie.split("; ").map(function (v) {
			var eq = v.indexOf('=');
			return {
				name: v.substr(0, eq),
				value: decodeURIComponent(v.substr(eq + 1))
			};
		});

	var setCookie = function (name) {
		//Get frontpage cookie
		var fp = cookies.filter(function (v) {
				return v.name === name
			})[0];
		//Overwrite/create cookie if needed
		if (fp === undefined || fp.value !== "0") {
			document.cookie = name + "=0; domain=.imgur.com; expires=" + (new Date(2032, 0, 1)).toUTCString();
			return true;
		}
		return false;
	}
	if (setCookie("frontpagebeta") || setCookie("frontpagebetav2")) {
		if (window.stop) {
			window.stop();
		}
		location.reload();

	}
})();

/*
LICENSE:
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.
The full license text can be found here: http://creativecommons.org/licenses/by-nc-sa/4.0/
The link has an easy to understand version of the license and the full license text.

DISCLAIMER:
THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESSED OR IMPLIED WARRANTIES,
INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
THE POSSIBILITY OF SUCH DAMAGE.
*/

try copy to GreasyMonkey? https://github.com/janekptacijarabaci/g ... ses/latest

Re: imgur.com page link is showing blank page

Posted: 2021-09-14, 15:51
by amymor
i have same problem
pale moon 29.4.1
any fix?
thanks

Re: imgur.com page link is showing blank page

Posted: 2021-09-14, 16:16
by coffeebreak
amymor wrote:
2021-09-14, 15:51
any fix?
It looks like you read nothing but the thread title. :twisted:

The workaround is in this thread. Please read it.

Re: imgur.com page link is showing blank page

Posted: 2021-09-14, 18:40
by amymor
coffeebreak wrote:
2021-09-14, 16:16
amymor wrote:
2021-09-14, 15:51
any fix?
It looks like you read nothing but the thread title. :twisted:

The workaround is in this thread. Please read it.
i did but not worked for me

Re: imgur.com page link is showing blank page

Posted: 2021-09-14, 19:58
by coffeebreak
I just rechecked, and It does still work for me.

Please carefully reread and understand the whole thread (not just the post with the green checkmark, in case that is all you read).

Re: imgur.com page link is showing blank page

Posted: 2021-09-16, 19:47
by amymor
I found the problem, The Tap Mix Plus is incompatible with imgur. I created a new profile and then restored my settings and extensions one by one. imgur breaked when I restored the Tab Mix Plus. I tried again with default settings of Tab Mix Plus, imgur breaked again. I like Tab Mix Plus because it has many features in one but unfortunately I have to remove it. :(

Re: imgur.com page link is showing blank page

Posted: 2021-12-14, 11:25
by moonbat
amymor wrote:
2021-09-16, 19:47
The Tap Mix Plus is incompatible with imgur
Wrong, that extension does not affect webpages in any way, I've been using it without issues. I'm reviving this old thread to show that as of today, imgur works fine. If you use an adblocker - be sure to allow scripts from media-lab.ai to run on the site. I looked up the domain, it belongs to a holding company that owns Imgur and a few other internet brands, so in the context of Imgur, it's legit. In addition, don't block cookies or set to use session cookies since many sites break if you block them.

Re: imgur.com page link is showing blank page

Posted: 2021-12-15, 02:35
by coffeebreak
moonbat wrote:
2021-12-14, 11:25
as of today, imgur works fine
It doesn't (unless, as before, you opt out of beta).
moonbat wrote:
2021-12-14, 11:25
be sure to allow scripts from media-lab.ai to run on the site. [...]
In addition, don't block cookies or set to use session cookies
Allowing (or blocking) media-lab.ai has no effect on whether imgur displays for me.

For Imgur to display still requires opting out of their beta, and/or changing the value of associated "beta cookies" to "0".
  • To display the page linked in the original post, it's enough to click the beta-opt-out link (which changes ONE of the two "beta cookies").
  • For Imgur's upload page to work, the value of both cookies must be changed.
People need to read the whole thread.

Re: imgur.com page link is showing blank page

Posted: 2021-12-15, 08:31
by RealityRipple

Re: imgur.com page link is showing blank page

Posted: 2021-12-15, 14:15
by sidology
Thank you.

Re: imgur.com page link is showing blank page

Posted: 2021-12-15, 15:21
by Tomaso
Thanks, RealityRipple.
Having to use Imgur's beta disabler has gotten to be tiresome! :)

Re: imgur.com page link is showing blank page

Posted: 2021-12-15, 18:58
by BlakeyRat
coffeebreak wrote:
2021-09-14, 16:16
amymor wrote:
2021-09-14, 15:51
any fix?
It looks like you read nothing but the thread title. :twisted:

The workaround is in this thread. Please read it.
I have read the entire thread. Several times. Tried everything. Nothing works.
When going to Imgur or trying to view any image hosted on Imgur:

Firefox = Works

Palemoon = Blank Page