Greasy Fork is available in English.

Discussions » Creation Requests

Sick of a type of url i want to bypass.. "Data:text"

§
Posted: 31.3.2016
Edited: 31.3.2016

Sick of a type of url i want to bypass.. "Data:text"

Hi,

when i'm logged in any of the sites of a domain, & try to message someone
by clicking "Ajouter etc.." Before getting a message box pop-up,
the site sends me to a url that starts like this:
Data:text/

& then any stupid advertized site appears .. .

that Data:text sort of link is activated by a script in their page,
what i'd like is a script that doesn't disable that domain's scripts,
but only bypasses "Data:text"urls that load ads after.. so when i click
on "Ajouter", i get the popup message box directly.

i still obtain that message box by stupidly navigating back to the profile page where
i clicked "Ajouter", an action i want to avoid. having to go through the data:text, stupid add
& scrolling back over & over to the profile page to finally obtain that message box..

urls that load the Data:text sort of url are:

jemontremonminou.com
jemontremesseins.com
jemontremespieds.com
jemontremesfesses.com
jemontremalingerie.com
jemontremasextape.com


Here's the source code of any profile:

http://textup.fr/159580Wl

If Data:text type of urls could be bypassed for any site, it would be even better, if you guys think
it could never be legitimate..

I'd love to have a greasemonkey script for that

§
Posted: 1.4.2016

i have adblock latitude, but what filter would you advise me for that data:text injected url ?

Deleted user 4151
§
Posted: 1.4.2016
Edited: 1.4.2016

data:text/html;base64, urls are base64 encoded content without domain/path/filename.

§
Posted: 1.4.2016
Edited: 1.4.2016

Ok Volkan, like i told you i don't know how to write adblock rules. i tried
data:text & *data:text* but that stupid site disables adds from time to time,
so i can't even test it now. if you wanna try it, maybe with the given html code,
either with adblock or creating a new script, let me know if it worked out.
i don't care about sites that would use data:text in the url bar as a legitimate attempt
to load urls, cause it's tricky & unsolicited. "data URIs, defined by RFC 2397, allow content creators to embed small files inline in documents."

why hiding urls with base64..... to trick.

when the ads will be active again, i'll try this script i found in a google search,
i don't know if it work & it affects the data:text links..

http://userscripts-mirror.org/scripts/review/158449

ps: the objective is to bypass the data:text url & not to stop the loading process..
cause the site should still load my message pop-up window..

thanks for all

§
Posted: 2.4.2016

Let me know if this script is what you are looking for: https://greasyfork.org/scripts/18434

§
Posted: 2.4.2016

what's the script's name ? i can't see that script

§
Posted: 2.4.2016
Edited: 2.4.2016

i finally installed it, tested it on the provided html code above & the site itself,
it seems to work for all jememontre domains :) gracias leon ))
what should i change to make this work for any domains besides jememontre ?

§
Posted: 2.4.2016

Your code is specific to the given html code, i hope it's not too hard to create a general code for the data:text url type. i'd never accept it even from legitimate sites, it's too intrusive & a form of obfuscation, totally useless & displaced. it should never appear in the url bar. but the principle's that the issue's now behind me for that domain :)

§
Posted: 2.4.2016

I think that this userscript will not work on other sites. This disables a specific function of the jememontre site. (The function that opens the data:text/html links). I not disabled all data:text/html links, only that function.

§
Posted: 2.4.2016

is it hard to make a script to bypass all data:text (obfuscated) urls for all domains ?

§
Posted: 2.4.2016

I think so. But I am only a newbie here.
The problem I found is the way opening those links.
i.e. jememontre site replaces the current location with the data: ad link, opening another window with the real url. Other sites may do other way. Even they can open the real link as an obfuscated data: link.
Imagine I got a site with a button when you clicked opens both "data:text/html;RealLink" and "data:text/html;FuckingAd". You will be blocking both?

§
Posted: 2.4.2016

"Imagine I got a site with a button when you clicked opens both "data:text/html;RealLink" and "data:text/html;FuckingAd". You will be blocking both? "

do you believe with your experience that html coders usually obfuscate real links using data:text often ?

§
Posted: 2.4.2016

I would do it

§
Posted: 2.4.2016

I've hardly ever seen data:text urls in the browser "navigation bar"..
maybe once or twice for an unsolicited porn redirection, nothing else.
unless you're refering to those base64 urls inside the code that are converted
in the background without even appearing in the "navigation bar"

§
Posted: 21.12.2016

https://adblockplus.org/forum/viewtopic.php?f=1&t=50160&p=163143#p163143

Please check my last comment on the site above & if a script can be used to prevent data: like urls to be launched for any site, that would be amazing

Deleted user 4151
§
Posted: 21.12.2016
Edited: 22.12.2016

This work(blocking access to script/content) needs access to browser APIs...

§
Posted: 21.12.2016

wrong: https://greasyfork.org/scripts/18434

But i need it for all sites.

Deleted user 4151
§
Posted: 21.12.2016
Edited: 22.12.2016

It just changes document referer, probably ad script does not show Ads when coming from www.jememontre.com
It will not work for all sites, unless you can find a proper workaround for each web-site, one-by-one.

§
Posted: 21.12.2016

Leon,

There must be a way to only block the url replacemenet with data:
if i click on a search bar, anywhere on the page or submition button
Besides/But not a "button" or "link"

Leon wrote:

I think so. But I am only a newbie here.
The problem I found is the way opening those links.
i.e. jememontre site replaces the current location with the data: ad link, opening another window with the real url. Other sites may do other way. Even they can open the real link as an obfuscated data: link.
Imagine I got a site with a button when you clicked opens both "data:text/html;RealLink" and "data:text/html;FuckingAd". You will be blocking both?

Deleted user 4151
§
Posted: 21.12.2016
Edited: 22.12.2016

Alternative for chrome; https://www.andryou.com/scriptsafe/

§
Posted: 21.12.2016

I used noscript before & it's heavy, slows processes & moreover, i tested it one a site that was irritating me, & it didn't block it from executing it's trick & launch an ad. it's not perfect. your solution is memory consuming, slows the browser activity. please don't send me other similar alternatives, i need to see if that addon can be adapted in a general way with someone who cares if not Leon.

Post reply

Sign in to post a reply.