v2.5.2
Giriş yap

Google reklam css düzenleme

erdal42
210 defa görüntülendi ve 1 kişi tarafından değerlendirildi

Selamlar,

İframe ile gelen google ad reklamları css ile düzenlemek istiyorum.
Yazı boyutunu büyütmek ve bir kaç küçük değişiklik yapmak istiyordum ancak kendi css dosyama yazdığımda işleme almıyor yani çalışmıyor.

!important ile css değerini verdiğimde de aynı sonuç. Bu reklam java ile koyduğum sonuçlar içinde çıkıyor. Sadece reklamlara css uygulanamıyor.

Reklam bu linkten geliyor;

https://cse.google.com/cse_v2/ads?adsafe=low&pcsa=true&cx=018141670066667450563:j1q2ogtcxwy&fexp=20606&client=google-coop&q=evren&r=m&sct=ID=27b71492a8d59723:T=1682843179:S=ALNI_MaBonoQZ0ytLO27Bu2TB3f6e8Vqdg&sc_status=6&hl=tr&type=0&oe=UTF-8&ie=UTF-8&format=p4&ad=p4&nocache=7631682844084400&num=0&output=uds_ads_only&source=gcsc&v=3&bsl=10&pac=0&u_his=9&u_tz=180&dt=1682844084401&u_w=1440&u_h=900&biw=1127&bih=731&psw=1127&psh=731&frm=0&cl=526944101&uio=-&jsid=csa&jsv=526944101&rurl=https://

EĞER LİNK ÇALIŞMAZ İSE KISACA KOD ;

<!doctype html><html lang="tr"> <head> <style id="ssr-boilerplate">body{-webkit-text-size-adjust:100%; font-family:arial,sans-serif; margin:0;}.div{-webkit-box-flex:0 0; -webkit-flex-shrink:0; flex-shrink:0;max-width:100%;}.span:last-child, .div:last-child{-webkit-box-flex:1 0; -webkit-flex-shrink:1; flex-shrink:1;}.a{text-decoration:none; text-transform:none; color:inherit; display:inline-block;}.span{-webkit-box-flex:0 0; -webkit-flex-shrink:0; flex-shrink:0;display:inline-block; overflow:hidden; text-transform:none;}.img{border:none; max-width:100%; max-height:100%;}.i_{display:-ms-flexbox; display:-webkit-box; display:-webkit-flex; display:flex;-ms-flex-align:start; -webkit-box-align:start; -webkit-align-items:flex-start; align-items:flex-start;box-sizing:border-box; overflow:hidden;}.v_{-webkit-box-flex:1 0; -webkit-flex-shrink:1; flex-shrink:1;}.j_>span:last-child, .j_>div:last-child, .w_, .w_:last-child{-webkit-box-flex:0 0; -webkit-flex-shrink:0; flex-shrink:0;}.l_{-ms-overflow-style:none; scrollbar-width:none;}.l_::-webkit-scrollbar{display:none;}.s_{position:relative; display:inline-block;}.u_{position:absolute; top:0; left:0; height:100%;background-repeat:no-repeat; background-size:auto 100%;}.t_{display:block;}.r_{display:-ms-flexbox; display:-webkit-box; display:-webkit-flex; display:flex;-ms-flex-align:center; -webkit-box-align:center; -webkit-align-items:center; align-items:center;-ms-flex-pack:center; -webkit-box-pack:center; -webkit-justify-content:center; justify-content:center;}.q_{box-sizing:border-box; max-width:100%; max-height:100%; overflow:hidden;display:-ms-flexbox; display:-webkit-box; display:-webkit-flex; display:flex;-ms-flex-align:center; -webkit-box-align:center; -webkit-align-items:center; align-items:center;-ms-flex-pack:center; -webkit-box-pack:center; -webkit-justify-content:center; justify-content:center;}.n_{-ms-flex-negative:1; text-overflow:ellipsis; white-space:nowrap;}.p_{-ms-flex-negative:1; max-width: 100%;}.m_{overflow:hidden;}

Burda html içinde css'i yazılmış.

Acaba css'i editleme ve kendimize özgün ayarlayabilme şansımız var mı ?

erdal42
370 gün önce

Evet, aslında direkt bunu

$content = file_get_contents('https://www.google.com/calendar/embed?src=%23contacts%40group.v.calendar.google.com&ctz=America/Montreal');
$content = str_replace('</title>','</title><base href="https://www.google.com/calendar/" />', $content);
$content = str_replace('</head>','<link rel="stylesheet" href="http://www.yourwebsiteurl.com/google.css" /></head>', $content);
echo $content;

şekilde bu tarzda yapılabilir mi ?