You are not logged in.

#1 2014-08-17 16:48:39

caravanlizzy
Member
Registered: 2013-10-07
Posts: 91

[solved] webkit browser open mobile websites

hello everyone,

im using several webkit browsers, mainly luakit and xombrero, but on some specific sites, i only get the mobile version. i found some posts that told to change the useragent settings, but firstly my tries didnt change anything and secondly, the same useragent entry works my netbook (where i use another arch version).

my entry in the luakits "globals.lua" looks as follows:

-- Make useragent
local _, arch = luakit.spawn_sync("uname -sm")
-- Only use the luakit version if in date format (reduces identifiability)
local lkv = string.match(luakit.version, "^(%d+.%d+.%d+)")
globals.useragent = string.format("Mozilla/5.0 (%s) AppleWebKit/%s+ (KHTML, like Gecko) WebKitGTK+/%s luakit%s",
string.sub(arch, 1, -2), luakit.webkit_user_agent_version,
luakit.webkit_version, (lkv and ("/" .. lkv)) or "")

so i guess, there must be another reason, does anyone else have the same problem??

greets lizzy

Last edited by caravanlizzy (2014-10-28 23:59:43)

Offline

#2 2014-10-06 09:50:20

caravanlizzy
Member
Registered: 2013-10-07
Posts: 91

Re: [solved] webkit browser open mobile websites

okay, i solved the problem! i was just trying several useragents according to this link:
http://www.useragentstring.com/Firefox17.0_id_19629.php
to eventually configure my dwb and luakit browsers with the version Firefox 17.0:

Mozilla/5.0 (X11; Ubuntu; Linux armv7l; rv:17.0) Gecko/20100101 Firefox/17.0

Last edited by caravanlizzy (2014-10-28 23:59:17)

Offline

Board footer

Powered by FluxBB