Register a SA Forums Account here!
JOINING THE SA FORUMS WILL REMOVE THIS BIG AD, THE ANNOYING UNDERLINED ADS, AND STUPID INTERSTITIAL ADS!!!

You can: log in, read the tech support FAQ, or request your lost password. This dumb message (and those ads) will appear on every screen until you register! Get rid of this crap by registering your own SA Forums Account and joining roughly 150,000 Goons, for the one-time price of $9.95! We charge money because it costs us $3,400 per month for bandwidth bills alone, and since we don't believe in shoving popup ads to our registered users, we try to make the money back through forum registrations.
  • Post
  • Reply
gary oldmans diary
Sep 26, 2005



Hell Gem

I made this batch file to help me clean redundant pages out of my Firefox history like redirects, web carts, error pages, search results, and multiple pages of a single thread.
You have to specify what to remove in 2 other files for that to work, otherwise it just compacts your Firefox history files for you without doing that.
Requires sqlite3.exe.
code:
@echo off
sqlite3.exe -version > nul || goto Nevermind

REM Find Firefox directory and set variables
for /d %%a in ("%appdata%\Mozilla\Firefox\Profiles\*") do set ffprofile=%%a
for %%I in (%ffprofile%\places.sqlite) do set ffplaces=%%~zI

REM Back-up places.sqlite
if exist %ffprofile%\places.sqlite.bak goto Allbackedup
echo Backing-up database
copy %ffprofile%\places.sqlite %ffprofile%\places.sqlite.bak
:Allbackedup
echo Back-up file exists

REM Clear redundant or unwanted pages from Firefox history and superbar.
REM List phrases to match webpage titles to be removed line-by-line in clear_title.txt and
REM List partial URLs to match URLs to be removed line-by-line in clear_url.txt
echo Removing file-specified entries...
if exist clear_url.txt for /f "delims=" %%a IN (clear_url.txt) DO ^
sqlite3 %ffprofile%\places.sqlite "delete from moz_places where url like '%%%%a%%';"
if not exist clear_url.txt echo Clear_url.txt does not exist.
if exist clear_title.txt for /f "delims=" %%a IN (clear_title.txt) DO ^
sqlite3 %ffprofile%\places.sqlite "delete from moz_places where title like '%%%%a%%';"
if not exist clear_title.txt echo Clear_title.txt does not exist.

REM Compact Firefox sqlite files
echo Compacting database files...
for %%a in (%ffprofile%\*.sqlite) do sqlite3 %%a vacuum

REM Pause to check the size, then bye
dir %ffprofile%\places.sqlite
echo This is the size of the main database file, now.
for %%I in (%ffprofile%\places.sqlite) do set /a ffplaces=%ffplaces%-%%~zI
echo It is %ffplaces% bytes smaller now than before cleaning it
pause
echo on

@exit /b

:Nevermind
REM  If you don't have sqlite3.exe
echo Get sqlite3.exe and try this again
echo on

Adbot
ADBOT LOVES YOU

gary oldmans diary
Sep 26, 2005



Hell Gem

ryanbruce posted:

So if you last read page 14 of a thread after reading 1-13 it removes 1-13?

..or is that what you have in the .txt file?
To clear out pages after the 1st by how most forums software names page urls, I'd generally add to clear_url.txt:
&page=
&pagenumber=


I haven't really filled those files out to much. I still want to output all the URLs and titles from my history and build and sort it out by frequency to find better patterns to match useless pages.
Edit: I think most people would probably just use it to remove porn sites from their history.

gary oldmans diary fucked around with this message at Aug 16, 2011 around 03:48

gary oldmans diary
Sep 26, 2005



Hell Gem

Ryokurin posted:

I believe it was supposed to be a little bit faster for Linux users because they switched compilers but the big speed/memory increases are for 7 and 8.
So not until next week, then.

gary oldmans diary
Sep 26, 2005



Hell Gem

I don't know, man, but update your graphics drivers to the newest versions if you just used a system restore disk.

gary oldmans diary
Sep 26, 2005



Hell Gem

Ihmemies posted:

It feels pretty weird, being used to Firefox's inherent slowness for years, then suddendly everything working like a dream. Combined with a new OS (Windows 8) and other software like Office 2013, programs finally feel like they are actually using the resources of a modern computer in attempt to be as fast and smooth as possible.
FF18 is clearly faster and Windows maybe faster than many previous iterations, but there's no way I'd say "as possible".

gary oldmans diary
Sep 26, 2005



Hell Gem

Ihmemies posted:

That's why I said "in attempt to be"
Heh. I've never been a good communicator.

gary oldmans diary
Sep 26, 2005



Hell Gem

WattsvilleBlues posted:

Firefox shouldn't be sluggish or locking up regularly. I've got 10 extensions installed in Aurora and usually have around 2 dozen tabs open and it works really well. I have a fast computer but even with a lower spec machine you shouldn't be getting crap performance. Have you tried the troubleshooting steps in the OP?
I have 34 extensions and as many tabs (TreeStyleTabs makes it manageable) and I'm only on an AMD E-350. Slowdowns are exceedingly rare and I haven't crashed since 19.0.0 (which was crashing constantly on me... or maybe it was 18, whatever).
Although I imagine the extensions AdBlock and NoScript should count for performance, rather than against.

gary oldmans diary
Sep 26, 2005



Hell Gem

I thought the hierarchy was the best part. poo poo is so organized, my eyes always go straight to the tab I'm looking for.

gary oldmans diary
Sep 26, 2005



Hell Gem

NihilCredo posted:

When I use a non-default theme, how do I stop the tab titles from getting that stupid shadowed effect? It seems to happen with any custom theme, and I don't believe it's from an extension.


I had a problem with tab shadows making things look really blurry one session, so I went to Stylish and this works well for me at the distance I sit from my screen:
code:
@namespace url(http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul);

tab .tab-text{
      text-shadow: 0px 0px 5px white, 0px 0px 5px white, 0px 0px 5px white !important; 
      color:black !important; 
      font-weight: 600 !important;
}

gary oldmans diary fucked around with this message at Apr 3, 2013 around 08:05

gary oldmans diary
Sep 26, 2005



Hell Gem

LeftistMuslimObama posted:

I don't like it. I liked having the bar at the bottom with my downloads listed there until I opened them.
This is what I still have and it's up to date. Don't even know what you guys are seeing.
Maybe you need to go to its options and choose full mode or maybe you need to drag it to the bottom from wherever it is (View > Toolbars > Customize... > [drag and drop interface objects]).

E: TreeStyle Tabs's context menu options don't yet work in FF 20. Even the newer version from the author's site.

gary oldmans diary fucked around with this message at Apr 3, 2013 around 18:45

gary oldmans diary
Sep 26, 2005



Hell Gem

So Firefox on Windows can decode h.264, but only on using the h.264 decoder that comes installed with Windows 7/8? Using FFDShow or CoreAVC or whatever is a no-go?

I'm trying the nightly, with media.windows-media-foundation.enabled=true, and viewing Youtube in html5 (with WebM disabled to boot), but the icon I expect to see in the Windows notification bar when my preferred decoder is in use doesn't show and CPU usage increases twice as much viewing fullscreen HD compared to just watching the downloaded MP4 (plus playback isn't as smooth as it should be).

gary oldmans diary fucked around with this message at Apr 7, 2013 around 20:16

gary oldmans diary
Sep 26, 2005



Hell Gem

Klyith posted:

They can't afford to pay the license fees to distribute a decoder. Using an open source decoder makes no difference, you still have to pay.


You have paid your MPEG-LA licensing fees for the copy of FFDShow you installed on your computer, right?
That shouldn't be the problem.

http://www.mpegla.com/main/programs/M4V/Pages/Licensees.aspx posted:

122. CoreCodec, Inc.

http://www.mpegla.com/main/programs/AVC/Pages/Licensees.aspx posted:

207. CoreCodec, Inc.


E: To my original question: That media.windows-media-foundation.enabled only enables support for the specific h.264 codec that ships with Windows?

gary oldmans diary fucked around with this message at Apr 7, 2013 around 20:31

gary oldmans diary
Sep 26, 2005



Hell Gem

Bummer. Oh well, nothing's perfect.

Edit: But apparently some things get more and more perfect all the time.

gary oldmans diary fucked around with this message at Apr 7, 2013 around 20:46

gary oldmans diary
Sep 26, 2005



Hell Gem

I'd try disabling hardware acceleration for anything exhibiting video output that garbled (Tools > Options > Advanced (tab) > "Use hardware acceleration when available").
Then looking for graphics driver updates. Starting Firefox's safe mode and testing extensions if that doesn't help.

gary oldmans diary
Sep 26, 2005



Hell Gem

I think dumping flash altogether is a bit much. I prefer to just use NoScript with a very short whitelist. One-stop-shop to block flash and javascript everywhere I want and nowhere I don't. Like click_to_play on a one-time, site-wide basis.
There are occasional circumstances where that's not optimal, but it's easy to allow and revoke temporary permissions.

gary oldmans diary
Sep 26, 2005



Hell Gem

Buff Skeleton posted:

Pretty sure there's a way to disable context menu items with UserChrome.css - check online for a guide. I know it works for stock menu items but I'm not sure how you'd do it for an extension's.
Menu Editor no good?

gary oldmans diary
Sep 26, 2005



Hell Gem

Gerudo Rivera posted:

All the comments say it's busted six ways from sunday

I installed the HideTab extension and checked.
Menu Editor good. Menu Editor very good. Unchecking those bottom 3 and applying immediately removed the context menu items.

gary oldmans diary
Sep 26, 2005



Hell Gem

RGX posted:

When I'm watching an HD video in Firefox (particularly youtube)and it loads quickly as it plays, the video hangs and stutters every now and then while the audio plays fine until its fully loaded.
Are you in Youtube's HTML5 trial?

gary oldmans diary
Sep 26, 2005



Hell Gem

RGX posted:

I can't find an option for it, how can I tell?
The option to change/check this setting is at http://www.youtube.com/html5.

gary oldmans diary
Sep 26, 2005



Hell Gem

Is it still advisable to disable WebM and ogg (in about:config) for the Youtube HTML5 trial?
...Hell, I'll just keep 'em disabled anyway.

gary oldmans diary
Sep 26, 2005



Hell Gem

The Greasemonkey script Youtube Xl wasn't working with HTML5, so here's the same thing as a style for the Stylish add-on (which I prefer to a script, anyway):
code:
@namespace url([url]http://www.w3.org/1999/xhtml[/url]);

@-moz-document domain("www.youtube.com") {
    .watch-medium #player-api {
        position:   fixed   !important;
        left:       0px     !important;
        top:        0px     !important;
        width:      100%    !important;
        height:     100%    !important;
        z-index:    999     !important;
        }
}
If it also works with the Flash version of Youtube, I guess that'd be a bonus.

gary oldmans diary
Sep 26, 2005



Hell Gem

Captain Invictus posted:

Firefox is the Skate 3 of browsers, works great most of the time and there's lots you can do, but when it messes up, it does so in the weirdest loving ways. Or it just outright breaks.
Skate 3's physics is broken for everyone. It seems like only some people continuously have Firefox problems.

What do you think, HAL 9000?
: It's probably the machine's fault, Dave.

gary oldmans diary
Sep 26, 2005



Hell Gem

That's weird. I've been using Adblock Plus and Better Privacy and my profile directory is only 254 MB (143 I could just delete from the cache folder). And it's not new. I've been dragging the same profile around for years through a lot of versions of Firefox and a lot of add-ons. Firefox is an unstoppable tank against my abuse.

gary oldmans diary
Sep 26, 2005



Hell Gem

Im_Special posted:

It does depend on configuration I've found, but just out of curiosity this is what my adblockplus folder looks like (aka normal) but what happens commonly with a lot of people is that every time they close Firefox, a new 1MB~ size patterns file gets created and over time there can be as many as 10,000 of them, its a bug but most people don't notice. So people with Adblock Plus + Better Privacy in Firefox type about :support and go to your Profile Folder and check whats in the adblcokplus folder, I kinda want to hear just how large some of your guys folder size is.

Also with 15 addons my self my profile is only 32MB's total, yours sitting at 254 MB seems really large to me.
I only have 5 of those Adblock files and they're all dated within the last 4 days. It seems I have a properly-imposed limit set in my profile somewhere, but that might have been a manual configuration.
After deleting the cache and vacuuming my sqlite files, I'm at 101 MB with 38 enabled add-ons. Nearly half of that is my urlclassifier3.sqlite file, alone, with places.sqlite behind it. Like I said, it's an older profile, and it's history goes back a long ways. I like being able to pull up an article I read 2 or 3 years ago by typing in a half-remembered keyword or URL.
Occasionally, I prune disinteresting and redundant pages from the history, but I'm in no hurry to shrink my profile directory.
Everything is in order.

gary oldmans diary
Sep 26, 2005



Hell Gem

Configured Download Statusbar years ago and never looked back...

gary oldmans diary
Sep 26, 2005



Hell Gem

I looked at that and didn't see any way to adjust kiosk settings besides using the customer webportal on the webconverger site.
It's behavior after installation and restart did not change for me between subsequent Firefox restarts.

gary oldmans diary fucked around with this message at Jun 11, 2013 around 21:35

gary oldmans diary
Sep 26, 2005



Hell Gem

You just want it to stop downloading? When I hit pause, it automatically stops downloading ahead (and resumes downloading on play). HTML5, if it matters.
If you must have it play up to a point but also not let it download anything past that point, you're out of luck but that's a pretty niche circumstance isn't it?

Adbot
ADBOT LOVES YOU

gary oldmans diary
Sep 26, 2005



Hell Gem

Im_Special posted:

Late on this, but for me when I hit the stop button it will keep buffering the video until it's done.
If you're also in the HTML5 mode, I don't know why it's more well-behaved for me than you. My best guess is the video playback settings page. If it's buffering as much as possible, maybe you clicked "I have a slow connection" at some point.

  • 1
  • 2
  • 3
  • 4
  • 5
  • Post
  • Reply