Discuții » Cerere de creare

[Request] Filmix (filmix.me) enable left click (custom menu like "search")

§
Postat în: 11-02-2017
Editat în: 18-02-2017

[Request] Filmix (filmix.me) enable left click (custom menu like "search")

Reqest/Запрос
Filmix (filmix.me) enable left click for custom menu/plugins like "search"
Filmix (filmix.me) включить использование левого клика, при выделении любого текста, для плагинов типа поисковых, сейчас левый клик не работает

мешает скрипт тут / sript blocking left click here:
https://filmix.me/templates/Filmix/media/js/site.js?v2.1.2

woxxomMod
§
Postat în: 11-02-2017

What is custom menu/plugins like "search"? Where exactly is the click blocked? Maybe you can indicate it on a screenshot.

§
Postat în: 11-02-2017
Editat în: 11-02-2017

Action(not work): Select text and make left click on selected text
I use "selection search" plugin https://chrome.google.com/webstore/detail/selection-search/gipnlpdeieaidmmeaichnddnmjmcakoe
that have option left click, and it open custom search menu. All other sites work ok, only this not. If adblock block site.js?v2.1.2 then it works, but site not work properly

woxxomMod
§
Postat în: 11-02-2017
Editat în: 11-02-2017

Yeah, that's an awesome extension, I'm using it too.

// ==UserScript==
// @name         Remove jQuery mousedown handler
// @match        https://filmix.me/*
// @grant        none
// ==/UserScript==

jQuery._data(document.body, 'events').mousedown = [];

P.S. it was caused by $('body').on('mousedown', in site.js

§
Postat în: 11-02-2017

Still not working,
"Selection Search extension>>Popup Menu>>Mouse Click>>Left click"

using direct script installation in chrome with manifest.json+sript.js

manifest.json:
{
"content_scripts": [ {
"exclude_globs": [ ],
"exclude_matches": [ ],
"include_globs": [ "https://filmix.me/*" ],
"js": [ "script.js" ],
"matches": [ "https://filmix.me/*" ],
"run_at": "document_start"
} ],
"converted_from_user_script": true,
"description": "Filmix Prevent Ctrl-C interception",
"name": "Filmix Prevent Ctrl-C interception",
"version": "1.0",
"manifest_version": 2
}


Is it possible to merge with working script "Ctrl+C remove Trash when copy", same manifest ?
https://greasyfork.org/ru/forum/discussion/17456/solved-filmix-filmix-me-ctrl-c-remove-trash-when-copy#latest

woxxomMod
§
Postat în: 11-02-2017
Editat în: 11-02-2017

Works for me using Tampermonkey. Chrome by itself doesn't support many features of userscripts. Try adding unsafeWindow. before jQuery without any spaces.

§
Postat în: 11-02-2017

(it works with tampermonkey, direct not)
chrome 55:
unsafeWindow.jQuery._data(document.body, 'events').mousedown = [];

Uncaught TypeError: Cannot read property '_data' of undefined

jQuery._data(document.body, 'events').mousedown = [];

Uncaught ReferenceError: jQuery is not defined

Postează un raspuns

Autentifică-te pentru a posta un răspuns.