|
|
#1 |
|
Web browsing, Safari and Javascript
Hello all, lately using my powerbook g4, I discovered that javascript under Safari 5.0.6 which is latest version of it for 10.5.8, is making browsing terribly slow, especially in google search.
When it comes to load images on google's search i have the spinning beach ball problem, meaning page loading with all those images it taking ages, if i disable javascript everything is working great, but some pages need it. I came across Javascript Blocker extension but it will not work with this safari version, I tried a lot of other browsers, but not one does the job as safari, i mean TenFourFox, Camino, Omniweb etc are good but not so great as safari when it comes to scrolling etc.. Only Firefox 3.6.28 seems to do the job at least What i need is a hint or something to disable javascript only in google and/or any other webpages i visit, something like Javascript blocker but for that version of safari, i could not find something related, maybe i didnt search enough but if someone knows, you are more than welcome to help
__________________
Hi-Res 15" Powerbook, 1.67MHz, 2GB RAM DDR2, ATI Mobility Radeon9700 128MB, 60GB 7200rmp HD, Leopard 10.5.8 Last edited by cyberghoser1; Jan 3, 2013 at 09:27 PM. Reason: Resolved issue |
|
|
|
0
|
|
|
#2 | |
|
Quote:
__________________
Pentium D 4.2GHz 8Gb DDR3 X1900xt 512mb vram 256gb intel ssd 3tb data drive Windows 7 Core i5 Quad 4GHz 16Gb DDR3 GT 640 256 gb intel ssd 8tb on-board Windows 8 |
||
|
|
0
|
|
|
#3 | |
|
Quote:
__________________
CEO, Lead Developer and Sales Manager of SW Social Web LLC PowerPC Blog iBook G4 1.2 Ghz 60 GB HDD & iMac G4 700 Mhz Owner. |
||
|
|
0
|
|
|
#4 |
|
Safari > Preferences > Advanced > Show Develop menu in menu bar. Then Safari > Preferences > Security > No JavaScript. JavaScript will be disabled by default, if you need it for a specific page then you can quickly enable it by clicking on Safari > Develop > Enable JavaScript.
Alternatively you can install GlimmerBlocker which will work in the background to block ads across all HTTP traffic (regardless of browser). You can add in some custom rules to block all JavaScript except those on the pages you whitelist. I second using Stainless. It is nowhere near as feature-rich as Safari, but it is sure as hell a lot lighter and pretty snappy for the most part. Hope that helps. |
|
|
|
0
|
|
|
#5 | ||
|
Thanks I will try it.
Quote:
Quote:
__________________
Hi-Res 15" Powerbook, 1.67MHz, 2GB RAM DDR2, ATI Mobility Radeon9700 128MB, 60GB 7200rmp HD, Leopard 10.5.8 |
|||
|
|
0
|
|
|
#6 |
|
If your having problems with google on safari then I'm also going to give a shout to leopard WebKit seeing seeing as your on 10.5.8. I use it as my main browser on the iMac G4, stainless is also good but I'm a sucker for the features and the way safari looks. I hope that's of some help.
__________________
MacBook pro 13 inch mid 2012 2.5 Ghz 4gb ram 1TB iMac G4 17 inch osx 10.5.8 1.25Ghz 1.5gb ram 80gb iPad 4 32gb iPhone 2g 8gb iPod classic 160gb
|
|
|
|
0
|
|
|
#7 | |
|
Quote:
__________________
Hi-Res 15" Powerbook, 1.67MHz, 2GB RAM DDR2, ATI Mobility Radeon9700 128MB, 60GB 7200rmp HD, Leopard 10.5.8 |
||
|
|
0
|
|
|
#8 | |
|
Quote:
__________________
MacBook pro 13 inch mid 2012 2.5 Ghz 4gb ram 1TB iMac G4 17 inch osx 10.5.8 1.25Ghz 1.5gb ram 80gb iPad 4 32gb iPhone 2g 8gb iPod classic 160gb
|
||
|
|
0
|
|
|
#9 | |
|
Quote:
__________________
Hi-Res 15" Powerbook, 1.67MHz, 2GB RAM DDR2, ATI Mobility Radeon9700 128MB, 60GB 7200rmp HD, Leopard 10.5.8 |
||
|
|
0
|
|
|
#10 | |
|
Quote:
Edit: Picture from iMac G4 which shows google images with continous pages and pictures that use all available space in the browser window.
__________________
MacBook pro 13 inch mid 2012 2.5 Ghz 4gb ram 1TB iMac G4 17 inch osx 10.5.8 1.25Ghz 1.5gb ram 80gb iPad 4 32gb iPhone 2g 8gb iPod classic 160gb
Last edited by chibiterasu; Jan 3, 2013 at 02:04 PM. |
||
|
|
0
|
|
|
#11 |
|
As already suggested Leopard-Webkit and Glimmer Blocker should improve things a lot. Leopard-Webkit will indeed launch Safari 5.0.6 , but it will use a much updated, faster and more secure version of Webkit. It will be even faster if you enable the advanced features using the shell script that comes with L-W dmg file.
To block javascript from a site in Glimmer Blocker, if I remember correctly you will have to create a new rule and add the string gb.zapScriptElements(); in the transform tab. There used to be a Safari extension called Javascript Blacklist, useful to block javascript from a whole domain. It seems to have disappeared after MobileMe went down. One thing I _strongly_ suggest to do is disabling preview images in chronology and Top Sites. It may seem a small detail, but it made a ton of difference on my old eMac. I used TinkerTool to do this (remember to reset Safari afterwards). Safari won't stress the system anymore to save these images on your HD, and this should result in less spinning wheels.
__________________
eMac 1.25 GHz, 2GB ram, Leopard; C2D MBP 2,66 GHz, Mountain Lion |
|
|
|
0
|
|
|
#12 | ||
|
Quote:
Quote:
__________________
Hi-Res 15" Powerbook, 1.67MHz, 2GB RAM DDR2, ATI Mobility Radeon9700 128MB, 60GB 7200rmp HD, Leopard 10.5.8 |
|||
|
|
0
|
|
|
#13 |
|
When you open L-W .dmg file (for example the latest 536.28.8) you can see a shell script named "enable advanced features". Just double click on it.
By the way, this is the content of that script, it should give you an idea of what it is doing: #!/bin/bash defaults write com.apple.Safari WebKitFullScreenEnabled -bool YES defaults write com.apple.Safari WebKitAcceleratedCompositingEnabled -bool YES defaults write com.apple.Safari WebKitAccelerated2dCanvasEnabled -bool YES defaults write com.apple.Safari WebKitAcceleratedDrawingEnabled -bool YES defaults write com.apple.Safari WebKitCanvasUsesAcceleratedDrawing -bool YES defaults write com.apple.Safari WebKitWebGLEnabled -bool YES defaults write com.apple.Safari WebKitWebAudioEnabled -bool YES Even if it doesn't solve the issues you are having with Google Images, it will make using L-W more enjoyable.
__________________
eMac 1.25 GHz, 2GB ram, Leopard; C2D MBP 2,66 GHz, Mountain Lion |
|
|
|
0
|
|
|
#14 | |
|
Quote:
__________________
Hi-Res 15" Powerbook, 1.67MHz, 2GB RAM DDR2, ATI Mobility Radeon9700 128MB, 60GB 7200rmp HD, Leopard 10.5.8 |
||
|
|
0
|
|
|
#15 |
|
I don't know what to say. My eMac is a lot less powerful than your PowerBook, but Google Images is working well for me.
What happens if you reset Safari, or if you disable javascript and plugins? Did you try disabling preview images? May I ask you what extensions are you using? Some of them can be quite heavy. When I tried Adblock, for example, it gave so many spinning wheels that I uninstalled it after five minutes (that's why I'm using GlimmerBlocker now).
__________________
eMac 1.25 GHz, 2GB ram, Leopard; C2D MBP 2,66 GHz, Mountain Lion |
|
|
|
0
|
|
|
#16 | |
|
Quote:
Edit: You where right, adblock was causing the issue!!!
__________________
Hi-Res 15" Powerbook, 1.67MHz, 2GB RAM DDR2, ATI Mobility Radeon9700 128MB, 60GB 7200rmp HD, Leopard 10.5.8 |
||
|
|
0
|
|
|
#17 |
|
Glad you find the culprit! AdBlock is really heavy. it gave me problems even on my mid-2009 MacBookPro. GlimmerBlocker is a lot lighter and much more powerful.
Using TinkerTool is the easiest way to disable preview images in Safari. It's one of the options in the Safari tab. Also, big stroke of luck! I found a copy of Javascript Blacklist 1.0.1 in a remote recess of my hard disk. I'm going to attach it to this post. I don't remember when or why I saved it. I must have been developing premonition powers...
__________________
eMac 1.25 GHz, 2GB ram, Leopard; C2D MBP 2,66 GHz, Mountain Lion Last edited by B-G; Jan 3, 2013 at 04:22 PM. |
|
|
|
0
|
|
|
#18 | |
|
Quote:
__________________
Hi-Res 15" Powerbook, 1.67MHz, 2GB RAM DDR2, ATI Mobility Radeon9700 128MB, 60GB 7200rmp HD, Leopard 10.5.8 |
||
|
|
0
|
|
|
#19 |
|
You're welcome!
Right off the box GlimmerBlocker tends to block less ads than adblock. This is not to hamper sites functionality by blocking too much. Fortunately creating personal filters and rules is simple (while not as easy as in adblock). Just look at the rules in the default filters to learn how. The "Suspects" tab is a good way to find the URLs to block.
__________________
eMac 1.25 GHz, 2GB ram, Leopard; C2D MBP 2,66 GHz, Mountain Lion |
|
|
|
0
|
|
|
#20 | |
|
Quote:
__________________
Hi-Res 15" Powerbook, 1.67MHz, 2GB RAM DDR2, ATI Mobility Radeon9700 128MB, 60GB 7200rmp HD, Leopard 10.5.8 |
||
|
|
0
|
|
|
#21 |
|
I have never had a problem with safari even on a imac g3
__________________
Pentium D 4.2GHz 8Gb DDR3 X1900xt 512mb vram 256gb intel ssd 3tb data drive Windows 7 Core i5 Quad 4GHz 16Gb DDR3 GT 640 256 gb intel ssd 8tb on-board Windows 8 |
|
|
|
0
|
|
|
#22 |
|
Install adblock and you will
__________________
Hi-Res 15" Powerbook, 1.67MHz, 2GB RAM DDR2, ATI Mobility Radeon9700 128MB, 60GB 7200rmp HD, Leopard 10.5.8 |
|
|
|
0
|
|
|
#23 |
|
hey some people actually like spam
it tastes great on wheat bread
__________________
Pentium D 4.2GHz 8Gb DDR3 X1900xt 512mb vram 256gb intel ssd 3tb data drive Windows 7 Core i5 Quad 4GHz 16Gb DDR3 GT 640 256 gb intel ssd 8tb on-board Windows 8 |
|
|
|
0
|
|
|
#24 |
|
G5 Quad?
Hello,
Will this Glimmer Block work for me on my G5 Quad? This things a beast in itself. I can play flash with no problems on it, but certainly would like to speed up Webkit on my G5. Someone let me know if I will see any differences if I were to totally get rid of java script entirely from my G5. Thanks, |
|
|
|
0
|
|
|
#25 |
|
In what context, blocking ads or blocking JavaScript? JavaScript, unlike Flash, is essential to the functioning of some sites; so some sites may work, while others won't. If you are experiencing slowdown due to JavaScript, it's quite possible that a lot of it is from all the extra scripts which are loaded in the background which don't have anything to do with the functioning of the site - think: social media / sharing extensions, ads, tracking / analytics scripts etc. All of these can be blocked with GlimmerBlocker with very little effort and will not affect the core functionality of any sites you visit.
tl;dr Give it a go! There really isn't anything to lose. Just remember to add rules for blocking what I outlined above. If you want a hand then give me a shout. |
|
|
|
0
|
![]() |
|
«
Previous Thread
|
Next Thread
»
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
All times are GMT -5. The time now is 06:11 PM.







MacBook pro 13 inch mid 2012 2.5 Ghz 4gb ram 1TB
Linear Mode
