Automatic click on a flat-button in the "Google-Startpage"
Hello,
at first, I'm a German with a "little bit" English and my knowledge about html and/or css is very small. But I'll try to do my best. I'm really nerved by poping up on google search site says: "Hinweis zum Datenschutz bei Google Ich möchte das später lesen .... " we get allways as German users. I've found the place in the HTML code of this site and want to do an automatic click on "Ich möchte das später lesen". That is a flat-button you can click on. I thought with user style made with "Stylish" would be the easiest way to fix that. But I don't know how to reach that button with a css-script. Maybe someone here can help me. Here the html-script of this Google-Startpage:
<!DOCTYPE html>
<html lang="de" itemtype="http://schema.org/WebPage" itemscope="">
<head></head>
<body id="gsr" class="hp vasq" onload="try{if(!google.j.b){document.f&&document.f.q.focus();documen…if(document.images)new Image().src='/images/nav_logo242.png'">
<div id="viewport" class="ctr-p">
<div id="doc-info" data-jiis="cc"></div>
<div id="cst" data-jiis="cc"></div>
<a style="left:-1000em;position:absolute" href="/setprefs?suggon=2&prev=https://www.google.de/?gws_rd%3Dssl&sig=0_iI_3NrGN28S9A5RVIlP_pzX024o%3D">
<!-- begin
Here in between was a lot of
more code I deleted because to
to hold this Discussion smal.
The complete code you'll find
in the attachment.
end -->
<div class="_eIg">
<div class="_YWg"></div>
<div class="_tLg">
<div class="_gIg">
Hinweis zum Datenschutz bei Google
</div>
<div class="_sLg">
<div class="_g0g">
<g-flat-button id="cnsd" class="_yKg _Ihg _Lhg" data-ved="0CAoQtGRqFQoTCJX-1NXyiMkCFcUVDwodZncBBQ" tabindex="0" role="button" style="color:#4285f4" jsl="$x 1;" data-rtid="i93u8cSa6Mlg" jsaction="r.qM6dp3zmEyw">
Ich möchte das später lesen
</g-flat-button>
<div class="_h0g"></div>
</div>
</div>
</div>
</div>
</div>
</div>
<span id="fsr">
<a class="_Gs" href="//www.google.de/intl/de/policies/privacy/?fg=1">
Datenschutzerklärung
</a>
<a class="_Gs" href="//www.google.de/intl/de/policies/terms/?fg=1">
Nutzungsbedingungen
</a>
<span style="display:inline-block;position:relative">
<a id="fsettl" class="_Gs" jsaction="foot.cst" role="button" aria-expanded="false" aria-controls="fsett" href="https://www.google.de/preferences?hl=de">
Einstellungen
</a>
<span id="fsett" style="display:none"></span>
</span>
</span>
<span id="fsl"></span>
</div>
</div>
</div>
</div>
</div>
<div id="footc" data-jiis="uc" data-jibp="h"></div>
</div>
<script>
this.gbar_=this.gbar_||{};(function(_){var window=…
</script>
<div class="gb_Ja"></div>
<style>
.gb_Ja{display:none!important}@-moz-keyframes gb__…
</style>
<script>
(function(){var ctx=[] ;google.jsc.x(ctx);})();
</script>
<script>
(function(){function k(a){++b;a=a||window.event;go…
</script>
<div id="lfootercc" data-jiis="cc"></div>
</div>
<script src="/xjs/_/js/k=xjs.qd.de.n-55WuW3erw.O/m=abd,sy99,sy98,sy97,sy1…IhBhMQ/rt=j/d=0/t=zcms/rs=ACT90oHnxufdrpZxC9pidcLJN87km_GzSQ" gapi_processed="true"></script>
</body>
</html>
I think the part where it is to click on starts with:
To hide the whole part I don't want I used following script:
@-moz-document domain(google.de)
._eIg, ._Udi {display: none !important;}
/* ._eIg: is hiding that "Hinweis zum Datenschutz bei Google" in the Google-startpage. /
/ ._Udi: is hiding that "Hinweis zum Datenschutz bei Google" in the Google-Resultpages. */
}
I brought this css-script with "Stylish" on "Firefox" to work.
But maybe I'm wrong and that way I'm writing here to get help to write a CCS-script.
Thank you and regards
HalleMike
The complete current HTML-file of the Google-Startpage you'll find in the attach.
Automatic click on a flat-button in the "Google-Startpage"
Hello, at first, I'm a German with a "little bit" English and my knowledge about html and/or css is very small. But I'll try to do my best. I'm really nerved by poping up on google search site says: "Hinweis zum Datenschutz bei Google Ich möchte das später lesen .... " we get allways as German users. I've found the place in the HTML code of this site and want to do an automatic click on "Ich möchte das später lesen". That is a flat-button you can click on. I thought with user style made with "Stylish" would be the easiest way to fix that. But I don't know how to reach that button with a css-script. Maybe someone here can help me. Here the html-script of this Google-Startpage:
I think the part where it is to click on starts with:
<g-flat-button id="cnsd" class="_yKg _Ihg _Lhg" .....
To hide the whole part I don't want I used following script:
@-moz-document domain(google.de) ._eIg, ._Udi {display: none !important;} /* ._eIg: is hiding that "Hinweis zum Datenschutz bei Google" in the Google-startpage. / / ._Udi: is hiding that "Hinweis zum Datenschutz bei Google" in the Google-Resultpages. */ }
I brought this css-script with "Stylish" on "Firefox" to work.
But maybe I'm wrong and that way I'm writing here to get help to write a CCS-script. Thank you and regards
HalleMike
The complete current HTML-file of the Google-Startpage you'll find in the attach.