Jump to content
Chinese-Forums
  • Sign Up

Removing banners from websites


Recommended Posts

Posted

So the issue I'm experiencing is more of an IT issue than anything else, but it is occuring on Chinese websites and I've only ever experienced it on Chinese websites, so please grant forgiveness for this post.

Please take a look at the attached screen print taken from a Chinese website. The issue is quite simple: how do I remove the 'Online Service' banner on the left-hand side which prevents me from seeing the address (which I need to read)? There doesn't appear to be a cross to close it in any of the corners. I use Firefox as my browser.

post-31773-010504000 1312381719_thumb.jpg

Posted

公司名称:北京威久咨询有限公司

公司简称:威久留学

电话: 010-68946699(总机)

传真: 010-62648687

地址:北京市海淀区中关村大街32号和盛嘉业大厦11/12A

邮编:100086

E-mail: info@wiseway.com.cn

上班时间:周一至周日9:00-18:00

Posted

I guess that you did that using the 'copy' functionality (?), but I would still like to actually remove it so that I can read it live on the website - any other takers?

Posted

Turn off JavaScript, then it will look like this :

post-44299-088276300 1312383407_thumb.jpg

Posted

As an alternative to turning off JavaScript, you can reduce the

width of the text block by using Ctrl-minus. A single "zoom out"

is sufficient to disclose the whole of the text block.

** Phil.

  • Like 1
Posted
I guess that you did that using the 'copy' functionality

Well, of course. But the banner wasn't obscuring the text in my browser anyway.

  • Like 1
Posted
Well, of course. But the banner wasn't obscuring the text in my browser anyway.

A negative mark for your patronising behaviour - as ever.

Posted

Paste this in your address bar and press "Enter" of "Go!" while viewing that page.

javascript: document.getElementById('floatDiv').hidden=true; void 0;

Posted

Can't work out what the "var x =" contributes; is the following not sufficient ?

javascript: document.getElementById('floatDiv').hidden=true; void 0

** Phil.

Posted
Can't work out what the "var x =" contributes; is the following not sufficient ?

"var x =" contributes as a historical reference as an indicator to me having just woken up and written it in under a minute.

Yup, that would be quite sufficient. The most important thing to remember is I wrote it in under a minute and was going to do it in multiple steps originally and I'd only just woke up. Working was enough for me. I didn't even take a second look once I saw it worked. ^^

Hopefully the extra reference didn't burn up too much ram for anyone. ^^

Edit:

I usually do much more complex scripts where I like to keep my references to the DOM objects since I often use them many times over.

Join the conversation

You can post now and select your username and password later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Click here to reply. Select text to quote.

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...