Discussions » Greasy Fork Feedback

How to remove "Must have Cookies ON" in script

§
Posté le: 13/03/2014
Édité le: 13/03/2014

How to remove "Must have Cookies ON" in script

  

WindowsVista  Firefox27.0.1  Greasemonkey 1.15

● Could a JavaPerson please tell me what is in this code that causes the script to only work if cookies are switched ON (including 3 party cookies).

Greasy Fork
➜ Script changes this page: https://greasyfork.org/scripts
http://pastebin.com/UcjTnRcf

● And if it is possible to remove that code so that the script will function with cookies switched OFF. Especially 3rd party cookies.
I go to UserScriptPage without remembering I need to have cookies on, I see script doesn't load, then I have to switch ON Cookies, then reload page...
for each visit to the UserScriptPage.

● In a clean profile with no other firefox addons.
Cookies shut off in Firefox Options like this:
http://img191.imageshack.us/img191/7097/rd5c.png

Please and thankyou.

§
Posté le: 14/03/2014
Édité le: 14/03/2014

Could you just not click on "Exceptions..." button in the Privacy tab and enter into the popups inputbox "https://greasyfork.org" and "Allow for session" or "Allow"?

§
Posté le: 14/03/2014
Édité le: 14/03/2014

NM, double post.

§
Posté le: 14/03/2014
Édité le: 14/03/2014

❤ ❤ ❤ srazzno ❤ ❤ ❤

You said you found no issue with cookies and because I am on firefox27 (and you are not) you did not experience the issue.
This is the reason for this inquiring thread.

● Still don't want any websites to accept cookies (especially 3rd party cookies) except during login.
Because of ads and other reasons.
And anyways I have firefox addon "Cookie Controller" in my usual profile that overides that firefox exceptions list.

● I have never found a Greasemonkey script that must use/have cookies enabled to operate even though they have Settings or "Copy text to local storage", http://userscripts.org/scripts/show/7671 EXCEPT this script and "Write a Note".
▬▬ What is the purpose of cookies?

● I found an earlier version of Greasy Fork that I tested in a clean profile and you did not need cookies for it to operate... so I know it can be done. http://pastebin.com/aN3assFc
So I can just use that one... but I am missing out on your new features.

● And now your latest version not only must you have cookies enabled but you must also be logged in for it to operate.
I don't think many people are logged in, or want to log in, just to browse or install scripts... including me.


EDIT:
Another script does not need cookies enabled
Auto Save Forms No Cookie
http://userscripts.org/scripts/show/25419

§
Posté le: 14/03/2014
Édité le: 14/03/2014

?

§
Posté le: 14/03/2014

I believe it is not the script but the site requiring cookies to be enabled to sign in and have scripts enabled. I do have to have cookies enabled to sign in and perhaps the earlier version of this site might not have been set up to accept cookies for scripts to function, but does now. May be a question for Jason.
Edit:
Perhaps because my script targets this site. Load this script by LouCypher https://greasyfork.org/scripts/180 that displays script counts and see if it works without cookies enabled:

§
Posté le: 14/03/2014
Édité le: 14/03/2014

That's because `Write a note` is using localStorage to store the data.
You can change it with GM_getValue/GM_setValue.

§
Posté le: 14/03/2014
Édité le: 14/03/2014

srazzano !
LouCypher Script will function fine for me with all cookies DISABLED.
https://greasyfork.org/scripts/180



That's because `Write a note` is using localStorage to store the data.
You can change it with GM_getValue/GM_setValue.

LouCypher is this supposed to be in this thread?
https://greasyfork.org/forum/discussion/8/will-not-install#Item_8

§
Posté le: 15/03/2014
Édité le: 15/03/2014

No sign-in required for Greasy Fork script: https://greasyfork.org/scripts/43

§
Posté le: 15/03/2014
Édité le: 02/07/2014


You solved it ❤ srazzano ❤ thankyou very much!
Works with no sign-in or without cookies enabled!
So glad I can use it now.

Highlight is cool appearance... oval eclipse shape.

● The added Created Links would be a great script all on it's own as well...
where you have 10 or more link choices of placing on any webpage... with input box for top/bottom/left/right corner.
And those with CSS can refine the placement for each link.

§
Posté le: 02/04/2014
Édité le: 02/04/2014
That's because `Write a note` is using localStorage to store the data.

I think that it's useful to check if localStorage is available on the current site, by means of try{ .. }catch(){}statementmt.

Poster une réponse

Connectez-vous pour poster une réponse.