How do i put ads on my chrome extension? - google-chrome

I saw that adsense changed its rules recently and now ads can be put on chrome extensions. I dont know how to sign up though since i require a website to sign up normally. Is there a way around this?

Related

Chrome DevTools are not appearing ONLY on Google Forms page

I am trying to inspect elements of a Form for an Apps Script. DevTools are available on every other page I load EXCEPT Google Forms.
I have searched in the devtools settings to find a blacklisted page, but nothing is there, also there is nothing in the registry for developer tools in the chrome folder.
I have found no solutions searching the internet for this, only general solutions when devtools is completely turned off.
I will add that I recently tried to use the "Dynamic Fields" add on for forms to accomplish the task of dynamic drop downs on my form before I decided to do it myself with Apps Script. This add-on probably does not want people peeking behind the curtain so they may have disabled the ability to see their code? Is this plausible?
This not only happens in google forms but also google classroom. Come to think of it, it looks like google is doing something with disabling Developer Tools on some of their sites. Others have complained that it is also disabled on their university/educational institution’s site. The main reason for this is to probably prevent “hacking” on these sites. Quick searches on google return almost no results on this phenomenon. It is definitely on a per-website basis, and probably not because of a local policy.
Update: If you are using Google Chrome as your browser, the devtools may not work on certain google products.
NOTE: This is for when individual webpages block inspect element, be sure it is enabled in the first place!
The Solution:
Use a different browser, as it seems to only happen on Chrome. (I used Firefox, but other browsers should be fine too.)

Why doesn't a website display properly in Google Chrome normal mode but displays fine in Incognito mode and all other browsers?

In my end the webpage looks good but in my client's end the page doesn't load properly or just the vertical lines show up without the text and images.
Link to the website : http://www.krishnaprasad.me/Iadmire.html (Inactive now).
The website looks fine in all browsers for my client except Google Chrome that too in normal mode.
I've used Foundation 5 framework for developing this site. If it's an issue with browser's extensions/plugins at my client's side, can I automatically disable that?
Let's start with the easy part: You cannot disable a plugin or extension from within JavaScript (if that's what you meant by automatically disabling). The only way that I know of to disabling those is for the user to actually open the Extensions page in their Browser Settings and manually disable those.
You can, however, detect the presence of problematic plugins or extensions in JavaScript and, for example, redirect the user to another page where you ask them to disable those plugins.
I've taken a look at the page and I found the culprit: One of elements had an id of adcontent, which I am guessing is black-listed by either Chrome or one of the plugins.
I believe that if you could change that id to something else, and adjust the CSS appropriately, the issue should be fixed.

How to prevent html injection(inserting) to avoid ad

I have facing the problem on avoid the ads in my browsers. I searched many tools and included extensions in browser. Also i re-installed the browsers but i cant able to stop populating ads in browsers.
Is there any way to stop this?
Thanks in advance.
If you're using Chrome with addons like AdBlock and are still receiving adverts, you probably have adware. This can either be a proper virus or just a malicious extension installed in Chrome.
If using Chrome: Search your extensions for any you didn't install and remove them.
Do a full virus scan, then install AdBlock.
Also, I doubt this is the right board for this question, but there's the answer anyway.

Google Apps Script Html Service and Internet Explorer error "This content cannot be displayed in a frame"

I am finally getting my Google script to work. It works fine in Chrome. I am using htmlservice.createHtmlOutputFromFile and the site is obviously hosted on google sites.
But when I try the page in IE, I get
This content cannot be displayed in a frame
To help protect the security of information you enter into this website, the publisher of this content does not allow it to be displayed in a frame.
I tried adding in head tag
meta http-equiv="X-Frame-Options" content="allow"
but it made no difference.
Is there a javascript trick or a GAS library function I can use to try to get this to work cross browser?
Maybe your problem is related to cross domain cookies.
Check this answer maybe will work to you.

How can I add adsense to my chrome extension?

I already programmed small chrome extension that when you click on it's icon it sends you to a specific URL.
Now I need to add an Adsense Advertisement included in my extension code, so that the ads appear at youtube.com at the right ,
Please look at the image: http://i.stack.imgur.com/yhVz5.jpg, I just marked where I want my ads to appear.
I've already seen an extension that does that, but I don't know how to do it.
Have you read the program policies:
Ads in Chrome Apps and Extensions
https://developers.google.com/chrome/web-store/program_policies
Currently, AdSense may not be used to serve ads in Chrome extensions or packaged apps, per AdSense policies.
AdSense in packaged apps is being worked on. See the discussion here: https://groups.google.com/a/chromium.org/forum/?hl=en&fromgroups#!topic/chromium-apps/_47r_YKRdjA
In the meantime, star this issue: https://code.google.com/p/chromium/issues/detail?id=132602