inherit
186006
0
Mar 30, 2019 4:02:27 GMT -8
smashwords2
Breathing
244
November 2012
smashwords2
|
Post by smashwords2 on Dec 11, 2012 2:38:44 GMT -8
Ok, have changed it one more time, if this doesn't work, then I can only think it's your browser and the way it's setup. Try Yootil again, just make sure to use the dev version only and hard refresh. This time round I am using Modernizr for HTML 5 feature detection. If I find time later today, I'll register on your forum and see if I get the error, so keep Yootil (dev) enabled. Thank you, Peter! The format icons have returned to their roost. Can I delete the Yootil(dev) and install the standard version now?
|
|
inherit
16846
0
Nov 19, 2012 15:20:20 GMT -8
Chris
3,036
December 2003
cddude
|
Post by Chris on Dec 11, 2012 3:39:24 GMT -8
Peter: I get the feeling that Avast is separating out certain components (localStore, sessionStorage) whenever a script from an external website is loaded. Just a thought.
|
|
inherit
2671
0
May 14, 2013 14:40:03 GMT -8
Peter
🐺
10,615
February 2002
peter3
|
Post by Peter on Dec 11, 2012 3:50:44 GMT -8
Ok, have changed it one more time, if this doesn't work, then I can only think it's your browser and the way it's setup. Try Yootil again, just make sure to use the dev version only and hard refresh. This time round I am using Modernizr for HTML 5 feature detection. If I find time later today, I'll register on your forum and see if I get the error, so keep Yootil (dev) enabled. Thank you, Peter! The format icons have returned to their roost. Can I delete the Yootil(dev) and install the standard version now? Yes you can remove it. Unfortunately though, any plugins that need to use session and local storage won't work for you.
|
|
inherit
2671
0
May 14, 2013 14:40:03 GMT -8
Peter
🐺
10,615
February 2002
peter3
|
Post by Peter on Dec 11, 2012 3:58:32 GMT -8
Peter: I get the feeling that Avast is separating out certain components (localStore, sessionStorage) whenever a script from an external website is loaded. Just a thought. I thought that, but I think smashwords2 tried disabling that, unless I misread. smashwords2, what is your settings like for cookies? Have a read of this link below, tell us what your setting is on for cookies... superuser.com/a/299080
|
|
inherit
186006
0
Mar 30, 2019 4:02:27 GMT -8
smashwords2
Breathing
244
November 2012
smashwords2
|
Post by smashwords2 on Dec 11, 2012 5:37:06 GMT -8
Peter: I get the feeling that Avast is separating out certain components (localStore, sessionStorage) whenever a script from an external website is loaded. Just a thought. I thought that, but I think smashwords2 tried disabling that, unless I misread. smashwords2, what is your settings like for cookies? Have a read of this link below, tell us what your setting is on for cookies... superuser.com/a/299080Proboards.com and freemessageboards.com are set to accept cookies from them in my FF exceptions listing. My 'Accept Cookies...' and 'Accept 3rd Party...' are both unchecked. I use exceptions, so that could be an issue. (sheesh. Ted smacks head!) I don't use Chrome or IE.
|
|
inherit
2671
0
May 14, 2013 14:40:03 GMT -8
Peter
🐺
10,615
February 2002
peter3
|
Post by Peter on Dec 12, 2012 5:56:49 GMT -8
Updated Yootil to 0.8.2
Docs have been updated (now includes storage docs).
Fixes, changes, and docs for storage
Most important change was not needing to specify what type of storage it was (i.e persistent or session). So before, if you wanted to get a value that was persistent, you would need to do this...
yootil.storage.get("yourkey", false, true) // [key, json, persist] You can still do this, and a reason could be that you have a key in session and persistent that is the same, but you only want to get one of them, so you would pass the 3rd param or either true or false (true being for persistent storage). If you leave it out, it will look in session and persistent storage objects for the key (by default it will return session first if there is a value, otherwise looks in persistent).
You can also directly use the persistent or session classes...
yootil.storage.persistent.set("key", "value") With doing this, no JSON support is added, you would need to handle it yourself.
Any questions, just ask, though look over the docs first.
|
|
inherit
153968
0
Nov 19, 2012 15:03:05 GMT -8
Thesealion
New Phone Who Dis?
4,124
April 2010
joemaggio
|
Post by Thesealion on Dec 12, 2012 12:52:36 GMT -8
So will this storage work in all browsers before and after IE?
|
|
inherit
186006
0
Mar 30, 2019 4:02:27 GMT -8
smashwords2
Breathing
244
November 2012
smashwords2
|
Post by smashwords2 on Dec 12, 2012 13:06:57 GMT -8
So will this storage work in all browsers before and after IE? I just tested this updated plugin plus the Lion Rules plugin and they play nice together with FF, plus the format icons appear with them both checked. Don't use IE, so can't help there.
|
|
inherit
16846
0
Nov 19, 2012 15:20:20 GMT -8
Chris
3,036
December 2003
cddude
|
Post by Chris on Dec 30, 2012 15:45:25 GMT -8
I've just pushed a new shell compiler for users on linux/mac. It compiles identically to the compiler Peter uses. It does require uglifyjs, node, and php to be installed. ( Peter wrote the PHP scripts we use, so cheer's to him!) If you have any issues getting it to work, just post here. (Remember, it's not for windows users. )
|
|
inherit
52689
0
Nov 1, 2012 0:38:41 GMT -8
Simie
1,078
July 2005
simie
|
Post by Simie on Dec 31, 2012 18:02:10 GMT -8
This looks great, Peter.
So I'm kinda out of the loop with the v5 plugin system, but it seems like there is a limit on the number of plugins you can install on a free forum, is that right? If so, it might be a good idea to not have this lib installed as a plugin but instead have developers embed the simple "if(yootil is undefined)" line in their own plugin. Not having to install and reorder this library plugin would also be simpler for end users, as well as saving a plugin slot.
|
|
inherit
16846
0
Nov 19, 2012 15:20:20 GMT -8
Chris
3,036
December 2003
cddude
|
Post by Chris on Dec 31, 2012 19:29:27 GMT -8
This looks great, Peter. So I'm kinda out of the loop with the v5 plugin system, but it seems like there is a limit on the number of plugins you can install on a free forum, is that right? If so, it might be a good idea to not have this lib installed as a plugin but instead have developers embed the simple "if(yootil is undefined)" line in their own plugin. Not having to install and reorder this library plugin would also be simpler for end users, as well as saving a plugin slot. The limit on plugins is new actually... Either way, I find it hard to believe someone will use 40 plugins, considering most things should be template modifications now.
|
|
inherit
52689
0
Nov 1, 2012 0:38:41 GMT -8
Simie
1,078
July 2005
simie
|
Post by Simie on Jan 1, 2013 2:28:03 GMT -8
This looks great, Peter. So I'm kinda out of the loop with the v5 plugin system, but it seems like there is a limit on the number of plugins you can install on a free forum, is that right? If so, it might be a good idea to not have this lib installed as a plugin but instead have developers embed the simple "if(yootil is undefined)" line in their own plugin. Not having to install and reorder this library plugin would also be simpler for end users, as well as saving a plugin slot. The limit on plugins is new actually... Either way, I find it hard to believe someone will use 40 plugins, considering most things should be template modifications now. Oh, whoops, I had some weird idea the free limit was 10 plugins, 40 isn't so bad. Embedding the yootil loader is only really a user experience thing, then.
|
|
inherit
153968
0
Nov 19, 2012 15:03:05 GMT -8
Thesealion
New Phone Who Dis?
4,124
April 2010
joemaggio
|
Post by Thesealion on Jan 1, 2013 13:59:09 GMT -8
This looks great, Peter. So I'm kinda out of the loop with the v5 plugin system, but it seems like there is a limit on the number of plugins you can install on a free forum, is that right? If so, it might be a good idea to not have this lib installed as a plugin but instead have developers embed the simple "if(yootil is undefined)" line in their own plugin. Not having to install and reorder this library plugin would also be simpler for end users, as well as saving a plugin slot. The limit on plugins is new actually... Either way, I find it hard to believe someone will use 40 plugins, considering most things should be template modifications now. It's definitely making things a bit less fun when all the new cool features are suddenly restricted. At least 40 seems like a large number now...
|
|
inherit
153968
0
Nov 19, 2012 15:03:05 GMT -8
Thesealion
New Phone Who Dis?
4,124
April 2010
joemaggio
|
Post by Thesealion on Jan 14, 2013 20:19:39 GMT -8
Random thought: we can just add the yootil library to our plugins right? That Ok with you guys? Also would it cause any problems if multiple plugins had the same library source in them? Like the user installed multiple plugins that contained yootil?
|
|
inherit
16846
0
Nov 19, 2012 15:20:20 GMT -8
Chris
3,036
December 2003
cddude
|
Post by Chris on Jan 14, 2013 20:26:17 GMT -8
Random thought: we can just add the yootil library to our plugins right? That Ok with you guys? Also would it cause any problems if multiple plugins had the same library source in them? Like the user installed multiple plugins that contained yootil? As of right now, that would cause it to be downloaded multiple times. Peter and I can discuss just doing if(typeof yootil == "undefined") // load it
|
|