Large

Google Bar Classic Redone v.2.3

By emnem Last update May 12, 2013 — Installed 19,600 times.

Advanced search etc. broken

in
Subscribe to Advanced search etc. broken 6 posts, 2 voices



Morten79 User
FirefoxWindows

Hi emnem and thanks for making this wonderful script. Found it today, it's already my new favorite Google GM script.
When I click on the gear icon I'm only able too click on Search settings, all other items like Advanced search, Web History and Search Help is impossible too choose. It seems like the links is misplaced or hidden.



Please fix this little issue soon.

Best regards
Morten Thomsen

 
emnem Script's Author
FirefoxWindows

Hmmm. Looks like it's not working at 1024 x 768 (works fine at 1440 x 900 *and* at 800 x 600, though, if you happen to have those screen sizes available). I had no idea so thanks for your comment. I may have to roll three updates back until I figure out what went wrong (I know exactly what code change is causing the problem - the one that allows the script to work on both the official Google design and the random alternate they keep throwing out there) I just don't have much time to look at it, so if I can't figure out something within the next few minutes, I'll probably roll back until there's more time for me to properly ruminate on this.

BTW, how did you get your name to show up on the top right in the screen cap? My script is supposed to hide it (so are you using another script or add-on that puts it back in or is my script failing to hide it)?

The top right of the screen, signed-in, should look just like this: http://i.imgur.com/vtidX.jpg (taken a few minutes ago with my account, signed-in)

***(editing a few minutes after first reading this post to conclude) - the problem is occurring more than two, three or even four updates back. I checked all my recent (May) diffs and there is no code change in those at fault, so I'll have to unwind what the real issue is when I get more time (I'll add this to the Install page issues list in the meantime; thanks again for the heads-up).

 
Morten79 User
FirefoxWindows

A script like this need too be screen resolution independent. I know nearly nothing about GM script language but I recognize that alot of hard work, trial and error testing is necessary to make such script work as intended.
One of the biggest difference between you and me is that I use a 4:3 monitor. It also appear that you are G+ member which I don't is. I refuse too be part of all this facebook vs. Google+ thing. Facebook is more than enough for me :)
My normal desktop resolution is 1280x960. I wasn't aware that your script was supposed too hide my sign-in email with a picture. That's cool as long as it's easy recognizable if I'm signed-in or not.
The following screenshots is taken with only your GM script running and Adblock Plus disabled. Here is a screenshot while I'm not logged in:

Here I'm signed-in:

And one with a search result:


All taken with Firefox maximized and in 1280x960.
Here you clearly see that this script works best on widescreen (1440x900) resolution I assume. That might be the reason why my email isn't hided/replaced properly. It looks like there isn't enough space at the right side. In all cases my email is displayed as normal without a picture.

I would really like too use your script all the time, but if I can't navigate too Advanced Search which I often use it's simply not an option.

 
emnem Script's Author
FirefoxWindows

"A script like this need too be screen resolution independent."

Agreed. But in that case I would need to own or at least have access to many more monitors (they come in all shapes and sizes optimized for all different screen resolutions, a painful fact of life that I have no control over). I can only do so much with the Resize Dimensions tool in Web Dev - which is what I use to test against more common resolutions in use - like 800 x 600, 1024 x 768, 1440 x 900 and so on.

For what it's worth, I made the original design for this script on a plain old boxy-looking 1024 x 768 flat screen monitor, and I dragged said monitor out again about a month ago when old 1440 x 900 here was giving me grief, and the script still worked fine at the smaller res. I had to fiddle with one thing that looked wrong but otherwise it still seemed to work and look OK. Believe me, I would almost kill to own a whole room full of monitors - and tablets and laptops and netbooks and smart phones - in all shapes and sizes so I could test my script - and my styles for other websites - to make sure they work no matter what you're viewing them on.

"It also appear that you are G+ member which I don't is."

No, I mean yes - I mean seriously, you don't understand. I've had the account you see screen capped (originally "Marah Marie") for the last four or five years - it was my Google Profile which I used mostly to promote Anti-AOL (an old blog of mine) and to say mean things about Google. I changed the name on it recently, which G let me do because I don't think they like to mess with me too much, then I got multiple invites to join G+ from a few online/real-life friends and I finally accepted one a few months ago only so I could make this script look better for logged-in G/G+ users. That's it. I don't actually *use* my G/G+ account for anything else - just for working on my script.

While I'm on the topic of G vs. G+ accounts, I got an idea from you saying I belong to G+ as well, so I went ahead and created a new GMail (non-G+) account just now - and my name still doesn't show up in the top right corner for that account like it does on your GMail account, so that's not the explanation, either (I just get the same icons that show up for logged-in G+ users). I can also rule out you re-coding anything yourself since you say you're not familiar with how GM scripting works, so that makes your name showing up there a new bug I wasn't aware of until you came along. Which I have to admit I have no clue how to fix.

"I would really like too use your script all the time, but if I can't navigate too Advanced Search which I often use it's simply not an option."

I understand; sorry about that. I will fix the problem if I can - I just can't say when. In the meantime, on a 1280 x 960 monitor/viewport like your own, try resizing it to anything under 840 x 600, and those links should work for you again (they work for me again at that res and below).

Update on broken links issue: just found out the script started breaking them on April 28th at 1:37 (with this update: http://userscripts.org/scripts/version/113067/4...). I haven't looked to see why but I will shortly. While I can't promise it, I'm pretty sure it's #appbar related (a new part of the HTML stack that I've had problems with from the get-go).

 
emnem Script's Author
FirefoxWindows

Fixed - so it was indeed the #appbar coding at fault. Tonight I tested and removed it line by line - then went with something else entirely - ultimately the problem was I was over-thinking how to style the #appbar and all related elements (it requires far less code than I thought - on just one element of the #appbar as opposed to like, all of them, which was how this got screwed up).

 
emnem Script's Author
FirefoxWindows

Just figured out the username showing up in right-hand corner where user icon should be instead - definitely not a bug dependent upon screen res as has been previously suggested, but it does seem to have something to do with not belonging to Google Plus, after all. Might be down to the fact that GMail accounts created on Android (with or without joining G+ is an unknown to me - the account I messed with tonight is not G+ associated) are not given a shiny little icon to play with. Updating script to get username matching navbar link color.