How to restrict firefox browser to load media files? - firefox

I am using Firefox browser and my internet speed is not so good and i use to open so many tabs in the same browser and It takes too much time to load the page due to the media file (Images, videos and audios). Now i want the browser do not load these media files to browse faster.
IS THAT POSSIBLE TO RESTRICT THE BROWSER ????

another method can be used.. use extension
"picture blocker"
The popular "picture Blocker" extension adds a toggle button to Firefox for example that switches the image loading state each time you activate it.

Related

Videos only playing on page refresh in Safari

We're having issues with auto-playing the videos at the bottom of this page on Safari, both desktop and mobile:
http://dev-doublespace.pantheonsite.io/work/kdc-one/
The videos don't appear or play on the initial load of the page. If we click "Show controls", then the controls for the video appear, but the videos aren't available and the sizing of the video window is not correct (screenshot below). If we choose to copy the file address, then the proper mp4 file address shows. However, if we "open the video in new window", or re-load the page, the videos then appear and play as expected.
We assume this is some type of caching issue, but can't be certain.
This site was built on Wordpress and is being hosted on Pantheon. We have the Pantheon caching tool enabled. We're using the Beaver Builder page builder to maintain the page content.
If anyone has any ideas on what might be happening here and how we can resolve this, that would be greatly appreciated.

Best way to download 600 fonts onto user's browser

In my mini web application, I wonder whats the best way of serving the 600+ fonts from google web fonts library to my users, primary concerns are the font file sizes, ajax calls delay.
Two possible options that come to mind are:
Ajax calls to download the font when the user scrolls through the dropdown list of those 600 fonts.
Create & store images of fonts on server, only retrieve those images when the user scrolls down the drop down list, subsequently, when the user clicks on a particular image, only then does the font file download locally.
Edit: To put the question more clearly forward, I am wondering whats the best option I have of serving 600+ fonts to a user of my font web app?
Thanks

how to crawl web page with ajax elements

I want to crawl some web pages, like the following
http://www.youtube.com/user/koglin66/feed?filter=2
but there is a 'load more' button, it is related to an ajax request
http://www.youtube.com/channel_ajax?action_load_more_feed_items=1&activity_view=1&paging=1352148528&channel_id=UCCw8aVnsIeu9S6OPQyaQ14g
I want to crawl the whole page.
Manually, I have click on the button repeatedly until there is no more to load,
by automation, how can I crawl the whole page? thanks!
Yes, you can use Selenium IDE, or use other program/library with browser core to do click action. Like webkit, activex of IE.
And you can try FMiner http://www.fminer.com/, it can record and play human actions on browser to scrape data, but it's not free.
I recently faced same problem with other website I wanted to scrap. I use Java and after some research on the web I used Selenium IDE for firefox in which u can write Java Junit test cases which will automatically open the webpage and click buttons, fill up forms, etc.
It also supports C#,Python,Ruby,etc
I used it to click on Load More button and when the page was loaded completely after all clicks I saved it Manually.
You can download Selenium from their website and I found this youtube video useful too http://www.youtube.com/watch?v=twdDfDOrHC4

is chrome faster because it doesn't reload images?

I have this issue for a while and I want to know if it is just me or it is the way chrome works. When I make changes to an image and upload it, on reload chrome fails to show the new image, instead it shows the old image. Firefox shows the new image. This happens mostly with big images, like background. So I have to wait for a few minutes before chrome shows the new image... Is this a rule or it happens just with my browser?
This might happen because your local clock isn't synchronized with the web server. When you upload an image, a new file is created. The server will return the time stamp of the file when the browser asks for it. If that time stamp is older than what you have in your cache, the browser won't load the image again (assuming it's still good enough).
You should inspect the image (right click on it) and then look at the network activity. Chrome will tell you there whether it did load the image and why not.
Looks like it's caching issue. This logic is different for different browsers.
You can clear Chrome cach by pressing Ctrl+Shitf+F12 and set option "Empty the cache". After this action new image should load always.

How to tell a browser not to resize image

When an image is opened on 4chan.org, it is not automatically resized by my browser (Chrome).
How is this done?
There is nothing in the link to a .jpg file in 4chan.org that will cause or prevent resizing. Chrome resizes large images to fit the browser window initially, and then you can click to make it full size. There are no native options to change this, but there are several extensions available for changing this behavior. Maybe you have one of these that is site specific?

Resources