I am interested in rolling out my own Ad Blocker extension and I have been successful in blocking quite a lot of ads (from AdSense, etc.) using Chrome extension's webRequest API.
Basically I prematurely cancel web requests being made to hosts I found from this repository.
However, I am still trying to figure out ways to block media ads (from Youtube, Soundcloud, etc.) and search ads (from Google, Bing, etc.)
I believe that I can pinpoint the <div>, <ul> or <ol> elements containing ads by manually inspecting the search engines' search result pages and set their display style to none, but am still looking for smarter ways of doing it.
With regards to the media ads I am pretty much clueless at the moment.
Any tips are welcomed.
Related
I tried to add my recently published web browser game to adsense. However, they rejected it and replied with needs attention, your site doesn't have any content.
How can I make it approved by adsense? Because it is a web browser game, it is quite normal that there is no content like blogs
Is there any alternative way to make my site publish any advertising by adsense, or any alternative for adsense that can allow web browser games?
Hey AdSense is for Unique and Informative text content. In online game nothing unique or text. So I will suggest you to create app and use AdMob or try AdX.
Is there a way to see from where traffic is coming to my Chrome Web Store extension?
I'd like to understand how many find the extension through:
- my own website
- searching on Chrome store
- searching on Google
- find it in a blog
etc.
This way I could draw similar conclusions that I can do in Google Analytics. For instance, understand which ways of marketing are working and which ones are not.
I found Chrome store statistics and https://developer.chrome.com/apps/analytics but it seems still fairly unclear if this is possible or how I should go about it.
Yes. All you need to do is specify an Analytics tracking ID on the extension's publishing page. No changes are needed for the extension.
Then your Analytics property will start receiving info on Web Store listing traffic, including traffic sources.
Old Dashboard:
New Dashboard:
The explanatory link is somewhat misleading as it talks about embedding analytics into apps. For people landing on your store page, you don't need that.
When creating the Analytics property, specify it as a website and the URL as the Web Store listing URL. I don't think it matters though which exact URL you specify, as it still works with one of my properties mistakenly set to dashboard edit page.
Recently I've been working on an idea that requires me to query Google Images and retrieve links for images matching that search term. My most promising candidate for a usable Google Images API was the Google Web Search API, but it looks like it's going to be going out of service as of tomorrow:
https://developers.google.com/web-search/docs/
The API that replaced it is the Google Custom Search API, but it's a little discouraging to use:
Google API Custom Search with Python - Programmatic Search Results
100 search results a day is a very strict limit; that's just four searches per hour. I also don't want to have to go through the hassle of creating some custom search bar that I'm never going to use except through Python
I decided to turn to parsing HTML directly from the results page. This presents a problem, though, because nowhere inside the page's HTML is there any direct link to the image, only referrer URLs. This is true of the javascript-enabled and javascript-disabled versions of Google Images (so even if Python spoofs javascript as enabled, nothing). I'm not sure where to go from here. Could anyone refer me to some obscure, updated library that I've somehow overlooked, or give me some pointers?
You could use Selenium Webdriver to actually execute the JavaScript and click on the images in the thumbnail view. Once an image has been opened, the link is in the DOM and you can scrape it from there. All Webdriver does is open an actual browser and simulate a user. You can even run it as a headless browser if you use xvfbwrapper. The downside is that even then, you will need all the dependencies of the browser you are using installed on your server.
However, scraping Google is against their terms of service and they will make an effort of blocking you as quickly as possible. So, unless you pass through the captchas (which are linked to sessions), you will possibly not be able to make a whole lot of searches before being blocked this way, either.
I'm working on a project for class. To create a website and a website for mobile users. The site is to recongize the type of device/browser accessing the page and send the appropiate form. So if I was to visit the site on IE8 it will direct me to the mainpage for IE8, if I was to access the site with a mobile device it will direct me to the mobile website main page automatically.
Also, I need to design the website for at least two different screen sizes.
I'm coding in HTML5, I do not know the type of server the site will be hosted on. The use of Javascript is extra credited. The project details are to "design a small mobile web site. The web site should be tested on one or more mobile devices. The iPod Touch device will be used as the base for testing."
I know how to do 8/10 of the requirements (except the two mentioned). I looked at W3C and didn't find anything.
Any help would be much appreciated. Thank you!
Do a Google for:
CSS Browser Detection
JavaScript Browser Detection
Also you should think twice about creating multiple sites - with basically the same content - or creating proper stylesheets that are referred from the same site.
Hope that get's you the other 2 requirements
NOTE: Since this is homework I won't post any links...
I suspect that ServerFault isn't the best place for this question...but aside from that, your question is a little vague. A google search for "designing a mobile website" turns up what looks to be several pages of relevant information. If you first try working with the information in those documents and then come back with specific questions (e.g., "I tried this and it behaved this way instead of the way I expected") you're apt to get better answers.
I was thinking to add meta tag always in all the websites.
That will trigger google chorme frame to load for users who already installed. I can see the benefits but is there any concerns or facts that I should know before I do that?
Testing in google chrome is enough or testing in google chrome frame explicitly required?
Thanks
Note: please do not mention current know problems "print" and "download" issue. I'm sure those will get fixed soon :)
The only argument against chrome frame that I have seen so far is Microsoft's - "Google Chrome Frame running as a plugin has doubled the attach area for malware and malicious scripts."
Also, you may run into problems with frames. If you have chrome frame on your page and someone has that page iframed on their site you may run into some problems. More info:
http://groups.google.com/group/google-chrome-frame/browse_thread/thread/d5ffe442658bc60e/e6d7a4c1c179c931?lnk=gst&q=iframe
You should only need to test in Chrome Frame for (X)HTML, CSS, and JavaScript...basic stuff. If you are using AJAX (while trying not to break the back button), worried about caching, cookies (accessed via javascript), or other potentially browser-specific browser interactions I suggest testing on the IE+CF platform...at least until the CF team announces 100% interoperability between CF and IE.
Check out the CF Google group for more issues.
Are there any concerns or facts you should know? Yes: Not everyone has Google Chrome Frame installed.
You are adding a new user agent that you will need to test and debug against, without removing the need to test and debug the user experience for other browsers (notably plain IE by itself).
If you don't make the IE user experience equivalent to the Google Chrome experience, then you are alienating a significant percentage of users. Depending on your website and its expected users, the impact of this may range from undesirable to unacceptable. If you do make the user experience equivalent, then there is no point in adding the meta tag.