Go Back   Google Chrome Forums > Google Chrome > Chrome Plugins


http://chromeplugins.org/frwrdicon.jpg
Top Tip : Click here to Boost Your PC & Chrome Browsing Speed
Reply
 
Thread Tools Display Modes
  #21  
Old 12-13-2009, 07:35 PM
Moderator
 
Join Date: Aug 2009
Location: Australia
Posts: 341
Default

urgghhh...Im too tired for this Im about to go to bed as its 7 in the morning here....but off the top of my head if your going to be sending a bunch of variables at once maybe you could shove them in an array or object and JSON them and send that.
First relevant post i could find: http://groups.google.com/group/chrom...463acb74015148
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #22  
Old 12-13-2009, 07:56 PM
mg2's Avatar
mg2 mg2 is offline
Senior Member
 
Join Date: Jun 2009
Location: Karlsruhe, Germany, Europe
Posts: 328
Default

VERSION CHANGE



0.69 -> 1.991 : Adds option page and folder4gmail support
__________________
BETTER GMAIL for Google Chrome

Win7 RC1
Google Chrome Dev latest version

Last edited by mg2; 12-13-2009 at 08:54 PM..
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #23  
Old 12-14-2009, 11:27 AM
Junior Member
 
Join Date: Oct 2009
Posts: 6
Default

i have tried to create an object with the data...

Code:
var optionsList = [{side: localStorage["fbc_side"]}, {position: localStorage["fbc_position"]}, {scroll: localStorage["fbc_scroll"]},{connect: localStorage["fbc_connect"]}];
and it reads correctly before it gets passed to the content script...
but after it gets passed through the message it shows up undefined...
...any suggestions??

i have also tried using JSON.stringify() and JSON.parse() with no luck
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #24  
Old 12-14-2009, 12:36 PM
Moderator
 
Join Date: Aug 2009
Location: Australia
Posts: 341
Default

hexid:
For anymore questions could you please start a new thread in...
http://www.chromeplugins.org/google/...s-development/
...so as not to clutter mg2's thread.
Quickest thing I could think of that does work (tested it) is....
Background
Code:
sendResponse({"side": localStorage["fbc_side"], "position": localStorage["fbc_position"], "scroll": localStorage["fbc_scroll"], "connect": localStorage["fbc_connect"]});
facebook.js
Code:
console.log(response.side +' '+ response.position +' '+ response.scroll +' '+ response.connect);
...that should be enough to get ya going

mg2:
Well done. Like this extension and just like the idea of putting a bunch of greasemonkey scripts in one extension with an options page, stops the extensions page getting cluttered and just plain handy.
Thanks alot for the thanks, made me feel good . And like the way you gave respect to the original script authors....respect!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #25  
Old 12-14-2009, 03:21 PM
Junior Member
 
Join Date: Nov 2009
Posts: 5
Default

everytime I clear my cookies and cache I have to do it again all the configuration in this extension...

any idea how to solve it?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #26  
Old 12-14-2009, 03:24 PM
mg2's Avatar
mg2 mg2 is offline
Senior Member
 
Join Date: Jun 2009
Location: Karlsruhe, Germany, Europe
Posts: 328
Default

@flaviosp
What version of Chrome do you use and what OS?
__________________
BETTER GMAIL for Google Chrome

Win7 RC1
Google Chrome Dev latest version
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #27  
Old 12-15-2009, 10:04 AM
Junior Member
 
Join Date: Nov 2009
Posts: 5
Default

4.0.266.0 chrome

btter gmail 1.992

everytime I clear all the cache ( except my saved passwords) I have to do again the configurations of this extensions...
any idea help, thanks MG2
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #28  
Old 12-15-2009, 11:00 AM
mg2's Avatar
mg2 mg2 is offline
Senior Member
 
Join Date: Jun 2009
Location: Karlsruhe, Germany, Europe
Posts: 328
Default

the configuration is stored in the localstorage folder, so if you're not clearing it they shouldn't delete. When you loose your configs you should also loose your configs for all your other extensions...
I know this isn't needed, but try using --enable-local-storage in the shortcut and see if the problems continues to appear..
__________________
BETTER GMAIL for Google Chrome

Win7 RC1
Google Chrome Dev latest version
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #29  
Old 12-15-2009, 11:01 AM
Moderator
 
Join Date: Aug 2009
Location: Australia
Posts: 341
Default

This isnt mg2's fault its a bug with chrome....
http://groups.google.com/group/chrom...c7dd1ea4eaea02
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #30  
Old 12-15-2009, 11:09 AM
mg2's Avatar
mg2 mg2 is offline
Senior Member
 
Join Date: Jun 2009
Location: Karlsruhe, Germany, Europe
Posts: 328
Default

Another suggestion:
go to chrome://extensions/ -> click on Developer mode -> click on the background.html just bellow my Better Gmail extension -> go to Storage tab -> in the left sidebar under Local Storage you will see an entry called gmfoc... click on it -> manually delete every key (select + delete) -> uninstall Better Gmail -> restart browser -> install it again from the extensions gallery

hope it works...
__________________
BETTER GMAIL for Google Chrome

Win7 RC1
Google Chrome Dev latest version
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

Similar Threads
Thread Thread Starter Forum Replies Last Post
Cutting and Pasting Into Gmail Professor K Chrome Troubleshooting 12 11-19-2009 01:47 AM
Chrome or gmail bug.. can't log in Benni Bugs and Vulnerabilities 4 11-02-2009 02:59 PM
Gmail checker toketin Plugins Troubleshooting 5 10-24-2009 06:20 PM
Gmail This Not Working Hiqutipie Plugins Troubleshooting 1 08-19-2009 06:36 PM
Gmail delay Growat Chrome Talk 0 11-05-2008 02:20 PM




Chrome Central - Chrome Talk - Chrome Tips and Tricks - Chrome Plugins - Chrome Themes - Chrome Tools - Bugs and Vulnerabilities - Chrome Tech - General Chat


All times are GMT. The time now is 07:17 AM.


Powered by vBulletin® Version 3.7.4 PL1
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Google Chrome and Google™ is a Trademark of Google Inc
This site chromeplugins.org is not affiliated with or sponsored by Google Inc.
Thanks: Taree SEO Forum and John