Giter VIP home page Giter VIP logo

Comments (18)

Martii avatar Martii commented on July 20, 2024

Error in console for this is:

Error: field is null
Source file: file:///~/.mozilla/firefox/seed.default/extensions/{e4a8a97b-f2ed-450b-b12d-ee082ba24781}/components/greasemonkey.js
Line: 825

Tested inside the iframe as well and same results.

from gm_config.

sizzlemctwizzle avatar sizzlemctwizzle commented on July 20, 2024

Could you try out this branch and let me know what you get?

from gm_config.

Martii avatar Martii commented on July 20, 2024

Using the current master branch it appears to be saving.

from gm_config.

sizzlemctwizzle avatar sizzlemctwizzle commented on July 20, 2024

Well I guess we'll see if it still works when I merge.

from gm_config.

Martii avatar Martii commented on July 20, 2024
Error: fields is not defined
Source file: file:///~/.mozilla/firefox/seed.default/extensions/{e4a8a97b-f2ed-450b-b12d-ee082ba24781}/components/greasemonkey.js
Line: 1006

Using this raw commit branch

from gm_config.

sizzlemctwizzle avatar sizzlemctwizzle commented on July 20, 2024

Damn. Wish GM would give a more useful line number. The error message has changed though. It was "field" that was undefined and now its "fields".

from gm_config.

Martii avatar Martii commented on July 20, 2024

Well there is a pattern to it I think... I just haven't sat down and determined it... has to do with the top level script line length minus the requires and possibly minus the greasemonkey.js line length as well.

from gm_config.

sizzlemctwizzle avatar sizzlemctwizzle commented on July 20, 2024

I really want that branch merged in soon. It's starting to fall behind master.

from gm_config.

Martii avatar Martii commented on July 20, 2024

Well I think that's it for tickets today on the current master... been a learning curve for me... I actually don't use any scripts with GMC but that's about to change with the addition of #10 I think. :)

from gm_config.

sizzlemctwizzle avatar sizzlemctwizzle commented on July 20, 2024
I actually don't use any scripts with GMC but that's about to change with the addition of #10 I think. :)
Good to hear. Just closed that ticket too. The only script I actively use GMC in is UnFuck Facebook. There are few example usages in there you might want to look at.

from gm_config.

Martii avatar Martii commented on July 20, 2024

Yah I've taken a look at that as well as Joes YT script.

Got a commit for you to look at in a moment.

from gm_config.

sizzlemctwizzle avatar sizzlemctwizzle commented on July 20, 2024

Could you try this branch again when you get the chance? I've merged all the changes to master and just need confirmation that it works. So far I've had no problems with it myself.

from gm_config.

Martii avatar Martii commented on July 20, 2024

Gimme a bit... still trying to iron out my display of this from all the commits :)

from gm_config.

Martii avatar Martii commented on July 20, 2024

Same error of "fields not defined" in my active script using this as my @require when i click Save

from gm_config.

sizzlemctwizzle avatar sizzlemctwizzle commented on July 20, 2024

Damn. That just doesn't make sense. I'm getting no errors. Could you post the init() code you're using in a gist?

from gm_config.

Martii avatar Martii commented on July 20, 2024

This is my official "test script" even though it's not a Unit Test... it's quite live. :) If you save a copy locally, change the @require to your test branch you'll see the error hopefully. I'm going to retry it now that I've scrubbed it over and over and over and well you get the point.

I know you know how to do this already I'm just commenting if someone reads it and has the same issue. :) Since technically the master branch currently works within the context of my usage... should one of us close this issue?

from gm_config.

Martii avatar Martii commented on July 20, 2024

Confirmed yet again using this url for my @require I still get:

Error: fields is not defined
Source file: file:///~/.mozilla/firefox/seed.default/extensions/{Be4a8a97b-f2ed-450b-b12d-ee082ba24781}/components/greasemonkey.js
Line: 1537

from gm_config.

sizzlemctwizzle avatar sizzlemctwizzle commented on July 20, 2024

Fix small error. closed by d82768219cc743450e31f3c8bcdc99d470d1b533

from gm_config.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.