Website development issues...

All about creating websites!
Post Reply
User avatar
z3r0aCc3Ss
Fame ! Where are the chicks?!
Fame ! Where are the chicks?!
Posts: 700
Joined: 23 Jun 2009, 16:00
14
Contact:

Website development issues...

Post by z3r0aCc3Ss »

I am developing a website using HTML5, CSS3, JavaScript. Later on, PHP and MySQL will be added.
I have some issues regarding it.

1) When I complete my website, how do I use media queries to develop it for mobile devices?
2) I am using some functions that does not allow viewing page source and right-click to be enabled. Can this cause any problems to BOTS or crawlers?
3) When I use ctrl + up-scroll, page is zoomed. But, all the content gets dithered. How do I overcome this? Content should not change/alter when I zoom the webpage.
Beta tester for major RATs, all kinds of stealers and keyloggers.
Learning NMAP

User avatar
bad_brain
Site Owner
Site Owner
Posts: 11636
Joined: 06 Apr 2005, 16:00
19
Location: In your eye floaters.
Contact:

Re: Website development issues...

Post by bad_brain »

@1: sorry no real experience with that (yet)

@2: nope, doesn't affect crawlers, they process the source in a telnet-like way...not in a "fetch with browser" way, so the source code is delivered (else the site couldn't be displayed at all).

@3: hm, you might have a look at the min/max height/width CSS properties for that one.. :-k
Image

User avatar
z3r0aCc3Ss
Fame ! Where are the chicks?!
Fame ! Where are the chicks?!
Posts: 700
Joined: 23 Jun 2009, 16:00
14
Contact:

Re: Website development issues...

Post by z3r0aCc3Ss »

Thanks b_b for your reply.
I am using this to restrict users from right clicking and using ctrl + u function.

HTML tag
Head tag
Head tag complete
Body tag
Body tag complete
//after body tag is complete...I write below line...
<body oncontextmenu="return false;" onkeydown="return false;">
HTML tag complete

This won't affect the ranking? Can bots still read/access me website?
Beta tester for major RATs, all kinds of stealers and keyloggers.
Learning NMAP

User avatar
bad_brain
Site Owner
Site Owner
Posts: 11636
Joined: 06 Apr 2005, 16:00
19
Location: In your eye floaters.
Contact:

Re: Website development issues...

Post by bad_brain »

google crawlers don't process/execute javascript, so no problem with that... :wink:
Image

User avatar
CommonStray
Forum Assassin
Forum Assassin
Posts: 1215
Joined: 20 Aug 2005, 16:00
18

Re: Website development issues...

Post by CommonStray »

#1 media queries in CSS example

Code: Select all

/* Landscape phone to portrait tablet */
@media (max-width: 767px) {
              body { ... }
}

body { ... }
This shows how you can set styling to the body element of a page when the max-width of the screen is less than or equal to 767px. The body styling under it will be used in any other case. Practice with this, setup a simple page and css file, set a different background for both body elements, and then load the page in the browser. Resize the browsers width to see the change (works in Chrome at least).


#2
I am using some functions that does not allow viewing page source and right-click to be enabled. Can this cause any problems to BOTS or crawlers?
Stop. Your'e not preventing people from seeing anything, you're only preventing people who don't know what they're doing from seeing anything. If there is data you don't want people to see, it has to remain server side.

#3 Yea good question. You don't. Provide higher resolution media elements.

Post Reply