sizzlemctwizzle / GM_config

A lightweight, reusable, cross-browser graphical settings framework for inclusion in user scripts.

Home Page:https://github.com/sizzlemctwizzle/GM_config/wiki

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Demo page is blank!

alexandre-mbm opened this issue · comments

Firefox 29.0 on Ubuntu 12.04.4. LTS.

Demo site blank!

Care to elaborate a little more on what "site" you are talking about and maybe a little bit more?

Okay thanks. It doesn't appear that I have access to that portion of GM_Config (GMC) to generate the User and Organization pages but I can offer these possibilities:

Pick your user.js engine to test in (TamperMonkey (TM), Violent monkey (VM), etc. and of course Greasemonkey (GM), install the script, and load/refresh up the current injection homepage url for the Unit Test on userscripts.org and it should show you the basics.

@sizzlemctwizzle,
GH is now not allowing me to assign you since this appears to be something you need to generate. EDIT: Correction... needs third party cookies to enable assignment. I wonder who is trying to add to my cookie jar! ;) If I'm understanding the point of the blank page it would probably be wise to add a base html to the io page of something along the lines of "This page intentionally left blank so you can install the user script and tinker with the Unit Test" and add it as an @include in the Unit Test. Thanks. :)

Sorry. I do not know what this project is!

Sorry. I do not know what this project is!

No need to apologize. Have you tried the wiki? There doesn't seem to be any screen shots yet but the Unit Test will show a live example and the wiki will explain in better detail.

JSON → config

OK?

That page should run GM_config along with the Unit Test even without Greasemonkey or Tampermonkey installed (it runs in the actual page). I tried it on Mozilla/5.0 (X11; Linux x86_64; rv:29.0) Gecko/20100101 Firefox/29.0 and it works just fine. Please open your web console on that page and let me know if you're getting any errors.

I tried it on Mozilla/5.0 (X11; Linux x86_64; rv:29.0) Gecko/20100101 Firefox/29.0 and it works just fine. Please open your web console on that page and let me know if you're getting any errors.

Same UA with this error message:

SecurityError: The operation is insecure. gm_config.js:455
"GM_config failed to read saved settings!" gm_config.js:385

and guess what... it needs third party cookies to show and of course JavaScript enabled... @sizzlemctwizzle, perhaps that could be the message instead in case someone doesn't see it? or do you just want the README.md to reference that? GH is really weird sometimes.

Sorry. I'm pretty oblivious to the knowledge of this project and I will leave this question.

commented

I can reproduce with a completely different error. After waiting a long time for the page to load, I get this:

Failed to load resource: net::ERR_CONNECTION_TIMED_OUT http://userscripts.org/scripts/version/82984/634330.user.js?

I am using Google Chrome 37, but I don't think browser is a factor for this error.

New tests. It also is blank with Firefox or Google Chrome on Windows 7.

Failed to load resource: net::ERR_CONNECTION_TIMED_OUT http://userscripts.org/scripts/version/82984/634330.user.js?

That's because Userscripts.org (USO) is no longer around. @sizzlemctwizzle will need to fix this to OpenUserJS.org (OUJS) I think since I don't have that access. Thanks for the report peeps. :)


Confirmed in Chromium as client via demo page is trying to get http://userscripts.org/scripts/version/82984/634330.user.js?

How much will it take to see a live demo :(?

Go to the GM_config Unit Test; Then install the Unit Test user script with your user.js engine; Refresh that page of Sizzles and it should work.

I've currently reassigned the @require to point to this repo and @include to only work on that page for the demo.

Closed by 9c49300 and 5606657

We have to install the user script so the demo works?
Maybe if so, please tell users to « please install user script before coming to this demo page » on the demo (blank) page itself (or find a way to show a demo without installing script).
I also get a blank page where I expected a demo. :)

@jesus2099

We have to install the user script so the demo works?

It's optional... just click the url and it should pop up the DOM (Content Scope) usage of GMC. Sizzle fixed the GH io page references around here.

I also get a blank page where I expected a demo.

README.md. Try a clean browser profile with no security restrictions e.g. possibly NoScript is at work... works for me at least once... although 2nd pass GH io seems to be doing something weird right now. :\

Ahh it's the brute force prevention on OUJS... we'll need to move the demo urls to GH for now.

Closed by 6cdf3b7

@jesus2099
Should be working full time now. Thanks for the report.

P.S. Used with @require in the UserScript metadata block it should cache this client-side like GM does with the actual download and storing of it... so it should avoid this situation. This is OUJS intended behavior to prevent outages from bad .user.js engine updates.

Great, @Martii, I do see it now indeed. :)